Skip to content

Commit 4638040

Browse files
Jake ChampionJakeChampion
authored andcommitted
run make format on codebase
1 parent 6743923 commit 4638040

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

runtime/js-compute-runtime/builtins/request-response.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,8 @@ bool Request::apply_auto_decompress_gzip(JSContext *cx, JS::HandleObject self) {
11481148
MOZ_ASSERT(cx);
11491149
MOZ_ASSERT(is_instance(self));
11501150

1151-
JS::RootedValue decompressGzipSlot(cx, JS::GetReservedSlot(self, static_cast<uint32_t>(Request::Slots::AutoDecompressGzip)));
1151+
JS::RootedValue decompressGzipSlot(
1152+
cx, JS::GetReservedSlot(self, static_cast<uint32_t>(Request::Slots::AutoDecompressGzip)));
11521153

11531154
auto decompress = JS::ToBoolean(decompressGzipSlot);
11541155
if (!decompress) {
@@ -1261,8 +1262,7 @@ bool Request::bodyAll(JSContext *cx, unsigned argc, JS::Value *vp) {
12611262

12621263
bool Request::backend_get(JSContext *cx, unsigned argc, JS::Value *vp) {
12631264
METHOD_HEADER(0)
1264-
JS::RootedValue backend(
1265-
cx, JS::GetReservedSlot(self, static_cast<uint32_t>(Slots::Backend)));
1265+
JS::RootedValue backend(cx, JS::GetReservedSlot(self, static_cast<uint32_t>(Slots::Backend)));
12661266
if (backend.isNullOrUndefined()) {
12671267
args.rval().setString(JS_GetEmptyString(cx));
12681268
} else {
@@ -1326,8 +1326,7 @@ bool Request::clone(JSContext *cx, unsigned argc, JS::Value *vp) {
13261326
JS::SetReservedSlot(requestInstance, static_cast<uint32_t>(Slots::IsDownstream),
13271327
JS::GetReservedSlot(self, static_cast<uint32_t>(Slots::IsDownstream)));
13281328

1329-
JS::RootedValue backend(
1330-
cx, JS::GetReservedSlot(self, static_cast<uint32_t>(Slots::Backend)));
1329+
JS::RootedValue backend(cx, JS::GetReservedSlot(self, static_cast<uint32_t>(Slots::Backend)));
13311330
if (!backend.isNullOrUndefined()) {
13321331
JS::SetReservedSlot(requestInstance, static_cast<uint32_t>(Slots::Backend), backend);
13331332
}

0 commit comments

Comments
 (0)