Index: third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp |
diff --git a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp |
index c1a48e2e22c6b4fde7dc16b7938f264f2983c9e5..f87990a87b53be5f451ac43294b62dae6b72fe14 100644 |
--- a/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp |
+++ b/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp |
@@ -42,6 +42,7 @@ |
#include "bindings/modules/v8/V8IDBIndex.h" |
#include "bindings/modules/v8/V8IDBKeyRange.h" |
#include "bindings/modules/v8/V8IDBObjectStore.h" |
+#include "bindings/modules/v8/V8InstallEvent.h" |
#include "bindings/modules/v8/V8NavigatorPartial.h" |
#include "bindings/modules/v8/V8ServiceWorkerGlobalScope.h" |
#include "bindings/modules/v8/V8SharedWorkerGlobalScopePartial.h" |
@@ -634,6 +635,7 @@ void installOriginTrialsForModules(ScriptState* scriptState) |
if (!originTrialContext->featureBindingsInstalled("ForeignFetch") && (RuntimeEnabledFeatures::foreignFetchEnabled() || originTrialContext->isFeatureEnabled("ForeignFetch"))) { |
if (executionContext->isServiceWorkerGlobalScope()) { |
V8ServiceWorkerGlobalScope::installForeignFetch(scriptState, global); |
+ V8InstallEvent::installForeignFetch(scriptState); |
} |
} |
} |