Index: Source/bindings/v8/V8WorkerContextErrorHandler.cpp |
diff --git a/Source/bindings/v8/V8WorkerContextErrorHandler.cpp b/Source/bindings/v8/V8WorkerContextErrorHandler.cpp |
index d69b74094ad1b20720bd6ba27e8fb9f4d8b7b1e4..87a3b20740bfb549329cbfbcb3566c1dbbd429e5 100644 |
--- a/Source/bindings/v8/V8WorkerContextErrorHandler.cpp |
+++ b/Source/bindings/v8/V8WorkerContextErrorHandler.cpp |
@@ -48,7 +48,7 @@ v8::Local<v8::Value> V8WorkerContextErrorHandler::callListenerFunction(ScriptExe |
{ |
ASSERT(event->hasInterface(eventNames().interfaceForErrorEvent)); |
v8::Local<v8::Object> listener = getListenerObject(context); |
- v8::Isolate* isolate = toV8Context(context, worldContext())->GetIsolate(); |
+ v8::Isolate* isolate = toV8Context(context, world())->GetIsolate(); |
v8::Local<v8::Value> returnValue; |
if (!listener.IsEmpty() && listener->IsFunction()) { |
ErrorEvent* errorEvent = static_cast<ErrorEvent*>(event); |