| Index: third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp b/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp
|
| index 7230fd47489ab190808e540940f2222835b1fe14..750dd853d29c8828ac84ddada97794eba86e8ca4 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp
|
| @@ -120,7 +120,6 @@ void V8WrapperInstantiationScope::securityCheck(v8::Isolate* isolate, v8::Local<
|
| ExceptionState exceptionState(ExceptionState::ConstructionContext, "Location", contextForWrapper->Global(), isolate);
|
| // We can't create a better message for a detached frame.
|
| exceptionState.throwSecurityError(String(), String());
|
| - exceptionState.throwIfNeeded();
|
| return;
|
| }
|
| const DOMWrapperWorld& currentWorld = DOMWrapperWorld::world(m_context);
|
| @@ -138,7 +137,6 @@ void V8WrapperInstantiationScope::convertException()
|
| LocalDOMWindow* callingWindow = currentDOMWindow(isolate);
|
| DOMWindow* targetWindow = toDOMWindow(m_context);
|
| exceptionState.throwSecurityError(targetWindow->sanitizedCrossDomainAccessErrorMessage(callingWindow), targetWindow->crossDomainAccessErrorMessage(callingWindow));
|
| - exceptionState.throwIfNeeded();
|
| }
|
|
|
| } // namespace blink
|
|
|