@@ -1148,7 +1148,8 @@ bool Request::apply_auto_decompress_gzip(JSContext *cx, JS::HandleObject self) {
1148
1148
MOZ_ASSERT (cx);
1149
1149
MOZ_ASSERT (is_instance (self));
1150
1150
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)));
1152
1153
1153
1154
auto decompress = JS::ToBoolean (decompressGzipSlot);
1154
1155
if (!decompress) {
@@ -1261,8 +1262,7 @@ bool Request::bodyAll(JSContext *cx, unsigned argc, JS::Value *vp) {
1261
1262
1262
1263
bool Request::backend_get (JSContext *cx, unsigned argc, JS::Value *vp) {
1263
1264
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)));
1266
1266
if (backend.isNullOrUndefined ()) {
1267
1267
args.rval ().setString (JS_GetEmptyString (cx));
1268
1268
} else {
@@ -1326,8 +1326,7 @@ bool Request::clone(JSContext *cx, unsigned argc, JS::Value *vp) {
1326
1326
JS::SetReservedSlot (requestInstance, static_cast <uint32_t >(Slots::IsDownstream),
1327
1327
JS::GetReservedSlot (self, static_cast <uint32_t >(Slots::IsDownstream)));
1328
1328
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)));
1331
1330
if (!backend.isNullOrUndefined ()) {
1332
1331
JS::SetReservedSlot (requestInstance, static_cast <uint32_t >(Slots::Backend), backend);
1333
1332
}
0 commit comments