Skip to content

Commit cd63104

Browse files
JakeChampionJake Champion
authored andcommitted
try to make the formatting nicer
1 parent 3812425 commit cd63104

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

c-dependencies/js-compute-runtime/builtins/worker-location.cpp

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,19 @@ JS::PersistentRooted<JSObject *> WorkerLocation::url;
2323
return URL::field(cx, WorkerLocation::url, args.rval()); \
2424
}
2525

26-
WorkerLocation_ACCESSOR_GET(href) WorkerLocation_ACCESSOR_GET(origin)
27-
WorkerLocation_ACCESSOR_GET(protocol) WorkerLocation_ACCESSOR_GET(host)
28-
WorkerLocation_ACCESSOR_GET(hostname) WorkerLocation_ACCESSOR_GET(port)
29-
WorkerLocation_ACCESSOR_GET(pathname) WorkerLocation_ACCESSOR_GET(search)
30-
WorkerLocation_ACCESSOR_GET(hash)
26+
WorkerLocation_ACCESSOR_GET(href);
27+
WorkerLocation_ACCESSOR_GET(origin);
28+
WorkerLocation_ACCESSOR_GET(protocol);
29+
WorkerLocation_ACCESSOR_GET(host);
30+
WorkerLocation_ACCESSOR_GET(hostname);
31+
WorkerLocation_ACCESSOR_GET(port);
32+
WorkerLocation_ACCESSOR_GET(pathname);
33+
WorkerLocation_ACCESSOR_GET(search);
34+
WorkerLocation_ACCESSOR_GET(hash);
3135

3236
#undef WorkerLocation_ACCESSOR_GET
3337

34-
bool WorkerLocation::toString(JSContext *cx, unsigned argc, JS::Value *vp) {
38+
bool WorkerLocation::toString(JSContext *cx, unsigned argc, JS::Value *vp) {
3539
METHOD_HEADER(0)
3640
return href_get(cx, argc, vp);
3741
}

0 commit comments

Comments
 (0)