Index: Source/bindings/tests/results/core/V8TestInterface3.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterface3.cpp b/Source/bindings/tests/results/core/V8TestInterface3.cpp |
index 14153ac35aaf1231f270c3599b9646d460d53c69..3af22e148aea65cf7b438a6c892e43c2ae36c8be 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterface3.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterface3.cpp |
@@ -94,7 +94,9 @@ static void voidMethodDocumentMethod(const v8::FunctionCallbackInfo<v8::Value>& |
exceptionState.throwIfNeeded(); |
return; |
} |
- TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(d, toRestrictedDouble(info[1], exceptionState), exceptionState); |
+ d = toRestrictedDouble(info[1], exceptionState); |
+ if (exceptionState.throwIfNeeded()) |
+ return; |
} |
TestPartialInterface4::voidMethodDocument(document, d); |
} |
@@ -163,7 +165,7 @@ static void forEachMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (!info[0]->IsFunction()) { |
exceptionState.throwTypeError("The callback provided as parameter 1 is not a function."); |
- exceptionState.throwIfNeeded(); |
+ exceptionState.throwIfNeeded(); |
return; |
} |
callback = ScriptValue(ScriptState::current(info.GetIsolate()), info[0]); |