2018-09-14 05:02:16 +00:00
|
|
|
diff --git a/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc b/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc
|
2018-09-14 18:03:43 +00:00
|
|
|
index 5c00e3e935b2..43f882eb0883 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc
|
|
|
|
+++ b/third_party/blink/renderer/bindings/core/v8/local_window_proxy.cc
|
2018-09-14 18:03:43 +00:00
|
|
|
@@ -171,11 +171,11 @@ void LocalWindowProxy::Initialize() {
|
2018-09-14 05:02:16 +00:00
|
|
|
GetFrame()->IsMainFrame());
|
|
|
|
MainThreadDebugger::Instance()->ContextCreated(script_state_.get(),
|
|
|
|
GetFrame(), origin);
|
|
|
|
+
|
|
|
|
+ InstallConditionalFeatures();
|
|
|
|
GetFrame()->Client()->DidCreateScriptContext(context, world_->GetWorldId());
|
|
|
|
}
|
|
|
|
|
|
|
|
- InstallConditionalFeatures();
|
|
|
|
-
|
|
|
|
if (World().IsMainWorld()) {
|
|
|
|
GetFrame()->Loader().DispatchDidClearWindowObjectInMainWorld();
|
|
|
|
}
|