Index: Source/bindings/core/v8/V8Initializer.cpp |
diff --git a/Source/bindings/core/v8/V8Initializer.cpp b/Source/bindings/core/v8/V8Initializer.cpp |
index 52948477ca4a27dbffc88304f0e776ac953814ff..a313e9be19c62470e2e97c664b6f09506dcb7371 100644 |
--- a/Source/bindings/core/v8/V8Initializer.cpp |
+++ b/Source/bindings/core/v8/V8Initializer.cpp |
@@ -128,7 +128,7 @@ static void messageHandlerInMainThread(v8::Handle<v8::Message> message, v8::Hand |
// avoid storing the exception object, as we can't create a wrapper during context creation. |
// FIXME: Can we even get here during initialization now that we bail out when GetEntered returns an empty handle? |
LocalFrame* frame = enteredWindow->document()->frame(); |
- if (frame && frame->script().existingWindowShell(scriptState->world())) { |
+ if (frame && frame->script().existingWindowProxy(scriptState->world())) { |
V8ErrorHandler::storeExceptionOnErrorEventWrapper(event.get(), data, scriptState->context()->Global(), isolate); |
} |