Index: third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.cpp b/third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.cpp |
index 0128c8fb0a92b08fc6f2e2f000c5457327a0944a..1ef4f100b8f4329666a266094c3aef19d5bf5945 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.cpp |
@@ -266,7 +266,6 @@ void rethrowExceptionInPrivateScript(v8::Isolate* isolate, v8::TryCatch& block, |
ScriptState::Scope scope(scriptStateInUserScript); |
ExceptionState exceptionState(errorContext, propertyName, interfaceName, context->Global(), scriptStateInUserScript->isolate()); |
exceptionState.throwDOMException(exceptionCode, messageString); |
- exceptionState.throwIfNeeded(); |
return; |
} |
@@ -278,7 +277,6 @@ void rethrowExceptionInPrivateScript(v8::Isolate* isolate, v8::TryCatch& block, |
ScriptState::Scope scope(scriptStateInUserScript); |
ExceptionState exceptionState(errorContext, propertyName, interfaceName, scriptStateInUserScript->context()->Global(), scriptStateInUserScript->isolate()); |
exceptionState.throwDOMException(V8RangeError, messageString); |
- exceptionState.throwIfNeeded(); |
return; |
} |