Index: third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
index c4b17c2929d89231f5dc4dcdba87029728503caf..f80ed708ddfefbd329f599b6d30d2c0d3609e476 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
@@ -275,16 +275,6 @@ bool WindowProxy::initialize() |
MainThreadDebugger::instance()->contextCreated(m_scriptState.get(), frame, origin); |
frame->loader().client()->didCreateScriptContext(context, m_world->extensionGroup(), m_world->worldId()); |
} |
- // If Origin Trials have been registered before the V8 context was ready, |
- // then inject them into the context now |
- if (m_world->isMainWorld()) { |
- ExecutionContext* executionContext = m_scriptState->getExecutionContext(); |
- if (executionContext) { |
- OriginTrialContext* originTrialContext = OriginTrialContext::from(executionContext); |
- if (originTrialContext) |
- originTrialContext->initializePendingFeatures(); |
- } |
- } |
return true; |
} |