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 bf7d4eb08bfbc6e3c288b02ad0f940163ff34fbd..c61383603fc018f7f6a841cd03f2a4659b4ce63a 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
@@ -460,6 +460,8 @@ void WindowProxy::setSecurityToken(SecurityOrigin* origin) { |
void WindowProxy::updateDocument() { |
DCHECK(m_world->isMainWorld()); |
+ // For an uninitialized main window proxy, there's nothing we need |
+ // to update. The update is done when the window proxy gets initialized later. |
if (!isContextInitialized()) |
return; |