refactor: ginify ServiceWorkerContext (#22756)

This commit is contained in:
Jeremy Apthorp
2020-03-20 14:15:14 -07:00
committed by GitHub
parent 5d657dece4
commit 22c17bcc5b
4 changed files with 23 additions and 17 deletions

View File

@@ -1059,9 +1059,6 @@ void Initialize(v8::Local<v8::Object> exports,
dict.Set(
"Protocol",
Protocol::GetConstructor(isolate)->GetFunction(context).ToLocalChecked());
dict.Set("ServiceWorkerContext", ServiceWorkerContext::GetConstructor(isolate)
->GetFunction(context)
.ToLocalChecked());
dict.SetMethod("fromPartition", &FromPartition);
}