| Index: Source/bindings/v8/V8Initializer.cpp
|
| diff --git a/Source/bindings/v8/V8Initializer.cpp b/Source/bindings/v8/V8Initializer.cpp
|
| index 89f5a9b303de558dddc103232d3c0bcf3e885380..5eca462dc8750f23c768f546e40da34c51295cb8 100644
|
| --- a/Source/bindings/v8/V8Initializer.cpp
|
| +++ b/Source/bindings/v8/V8Initializer.cpp
|
| @@ -141,7 +141,7 @@ static void failedAccessCheckCallbackInMainThread(v8::Local<v8::Object> host, v8
|
| DOMWindow* targetWindow = target->domWindow();
|
|
|
| // FIXME: We should modify V8 to pass in more contextual information (context, property, and object).
|
| - ExceptionState exceptionState(ExceptionState::UnknownContext, 0, 0, v8::Handle<v8::Object>(), isolate);
|
| + ExceptionState exceptionState(ExceptionState::UnknownContext, 0, 0, isolate->GetCurrentContext()->Global(), isolate);
|
| exceptionState.throwSecurityError(targetWindow->sanitizedCrossDomainAccessErrorMessage(callingDOMWindow(isolate)), targetWindow->crossDomainAccessErrorMessage(callingDOMWindow(isolate)));
|
| exceptionState.throwIfNeeded();
|
| }
|
|
|