Index: Source/bindings/v8/V8Initializer.cpp |
diff --git a/Source/bindings/v8/V8Initializer.cpp b/Source/bindings/v8/V8Initializer.cpp |
index c1498fa6bfc9069230808348135443a6b9eaa17e..0bfe7b16bc00aaaa6ad43f71cbd99a9dd71c9320 100644 |
--- a/Source/bindings/v8/V8Initializer.cpp |
+++ b/Source/bindings/v8/V8Initializer.cpp |
@@ -124,7 +124,7 @@ static void messageHandlerInMainThread(v8::Handle<v8::Message> message, v8::Hand |
// FIXME: Can we even get here during initialization now that we bail out when GetEntered returns an empty handle? |
DOMWrapperWorld* world = DOMWrapperWorld::current(); |
Frame* frame = firstWindow->document()->frame(); |
- if (world && frame && frame->script()->existingWindowShell(world)) |
+ if (world && frame && frame->script().existingWindowShell(world)) |
V8ErrorHandler::storeExceptionOnErrorEventWrapper(event.get(), data, v8::Isolate::GetCurrent()); |
firstWindow->document()->reportException(event.release(), callStack, corsStatus); |
} |