Index: Source/bindings/v8/ScriptController.cpp |
diff --git a/Source/bindings/v8/ScriptController.cpp b/Source/bindings/v8/ScriptController.cpp |
index 62146cf8e3f97726693078c9903832c0800bc74f..6140e4c770d091f7879962d80ef20ed030668ff0 100644 |
--- a/Source/bindings/v8/ScriptController.cpp |
+++ b/Source/bindings/v8/ScriptController.cpp |
@@ -473,8 +473,8 @@ int ScriptController::contextDebugId(v8::Handle<v8::Context> context) |
void ScriptController::updateDocument() |
{ |
- // For an uninitialized main window shell, do not incur the cost of context initialization during FrameLoader::init(). |
- if ((!m_windowShell->isContextInitialized() || !m_windowShell->isGlobalInitialized()) && m_frame->loader().stateMachine()->creatingInitialEmptyDocument()) |
+ // For an uninitialized main window shell, do not incur the cost of context initialization. |
+ if (!m_windowShell->isGlobalInitialized()) |
return; |
if (!initializeMainWorld()) |