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 4da926a81f14e7d7417aa6ee02a9a62ab05102de..00fc8be54aa69f937329dc6a6a5ec124671b15e8 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/PrivateScriptRunner.cpp |
@@ -267,7 +267,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; |
} |
@@ -279,7 +278,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; |
} |