Index: Source/bindings/v8/V8WindowErrorHandler.cpp |
diff --git a/Source/bindings/v8/V8WindowErrorHandler.cpp b/Source/bindings/v8/V8WindowErrorHandler.cpp |
index 9de174a833966f85fc80c887d44df495d8426f59..50f9f1573af8b0d73a9f10ac880fbfa3a4c47f4d 100644 |
--- a/Source/bindings/v8/V8WindowErrorHandler.cpp |
+++ b/Source/bindings/v8/V8WindowErrorHandler.cpp |
@@ -51,7 +51,7 @@ v8::Local<v8::Value> V8WindowErrorHandler::callListenerFunction(ScriptExecutionC |
ErrorEvent* errorEvent = static_cast<ErrorEvent*>(event); |
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()) { |
v8::Local<v8::Function> callFunction = v8::Local<v8::Function>::Cast(listener); |