Index: Source/bindings/v8/V8Initializer.cpp |
diff --git a/Source/bindings/v8/V8Initializer.cpp b/Source/bindings/v8/V8Initializer.cpp |
index 73283dba0e16fc569d80d6cc8b6bcbef329a74c3..e354b4115bcc185fc22272cb93e11f196613994a 100644 |
--- a/Source/bindings/v8/V8Initializer.cpp |
+++ b/Source/bindings/v8/V8Initializer.cpp |
@@ -135,7 +135,7 @@ static void failedAccessCheckCallbackInMainThread(v8::Local<v8::Object> host, v8 |
return; |
DOMWindow* targetWindow = target->domWindow(); |
- ExceptionState es(v8::Isolate::GetCurrent()); |
+ ExceptionState es(v8::Handle<v8::Object>(), v8::Isolate::GetCurrent()); |
es.throwSecurityError(targetWindow->sanitizedCrossDomainAccessErrorMessage(activeDOMWindow()), targetWindow->crossDomainAccessErrorMessage(activeDOMWindow())); |
es.throwIfNeeded(); |
} |