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..d7826f325dce4cd212d4e49fcda7eba2236313a7 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterface3.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterface3.cpp |
@@ -94,7 +94,7 @@ static void voidMethodDocumentMethod(const v8::FunctionCallbackInfo<v8::Value>& |
exceptionState.throwIfNeeded(); |
return; |
} |
- TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(d, toRestrictedDouble(info[1], exceptionState), exceptionState); |
+ TONATIVE_CONVERT(convertAndThrow(d = toRestrictedDouble(info[1], exceptionState), exceptionState), return); |
} |
TestPartialInterface4::voidMethodDocument(document, d); |
} |
@@ -163,7 +163,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]); |