| Index: Source/bindings/v8/V8ErrorHandler.cpp
|
| diff --git a/Source/bindings/v8/V8ErrorHandler.cpp b/Source/bindings/v8/V8ErrorHandler.cpp
|
| index eb7d41ace45a3210de784e23e8e77fd8fff34423..c41d9d38c1da8fa377d2cb731a046093924605c1 100644
|
| --- a/Source/bindings/v8/V8ErrorHandler.cpp
|
| +++ b/Source/bindings/v8/V8ErrorHandler.cpp
|
| @@ -56,7 +56,7 @@ v8::Local<v8::Value> V8ErrorHandler::callListenerFunction(ExecutionContext* cont
|
| ErrorEvent* errorEvent = static_cast<ErrorEvent*>(event);
|
|
|
| v8::Isolate* isolate = toV8Context(context, world())->GetIsolate();
|
| - if (errorEvent->world() && errorEvent->world() != world())
|
| + if (errorEvent->world() && errorEvent->world() != &world())
|
| return v8::Null(isolate);
|
|
|
| v8::Local<v8::Object> listener = getListenerObject(context);
|
| @@ -72,7 +72,7 @@ v8::Local<v8::Value> V8ErrorHandler::callListenerFunction(ExecutionContext* cont
|
| v8::Handle<v8::Value> parameters[5] = { v8String(isolate, errorEvent->message()), v8String(isolate, errorEvent->filename()), v8::Integer::New(isolate, errorEvent->lineno()), v8::Integer::New(isolate, errorEvent->colno()), error };
|
| v8::TryCatch tryCatch;
|
| tryCatch.SetVerbose(true);
|
| - if (DOMWrapperWorld::current(isolate)->isWorkerWorld())
|
| + if (DOMWrapperWorld::current(isolate).isWorkerWorld())
|
| returnValue = V8ScriptRunner::callFunction(callFunction, context, thisValue, WTF_ARRAY_LENGTH(parameters), parameters, isolate);
|
| else
|
| returnValue = ScriptController::callFunction(context, callFunction, thisValue, WTF_ARRAY_LENGTH(parameters), parameters, isolate);
|
|
|