Index: Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp b/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
index 811e909ab01afa05914492e939e537690c149053..50dde7497c74d8711fac3fdb1fe90918b4c60aa0 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
@@ -64,7 +64,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
v8::TryCatch block; |
V8RethrowTryCatchScope rethrow(block); |
- TONATIVE_VOID_INTERNAL(doubleArg, static_cast<double>(info[0]->NumberValue())); |
+ TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(doubleArg, toDouble(info[0], exceptionState), exceptionState); |
TOSTRING_VOID_INTERNAL(stringArg, info[1]); |
TONATIVE_VOID_INTERNAL(testInterfaceEmptyArg, V8TestInterfaceEmpty::toImplWithTypeCheck(info.GetIsolate(), info[2])); |
TONATIVE_VOID_INTERNAL(dictionaryArg, Dictionary(info[3], info.GetIsolate())); |