Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
index 15e56f62142cc07fc41604e3ecb31674c533787a..a99f6d2d3c1568df883c84bd4566cb53dc1a344b 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp |
@@ -13,7 +13,9 @@ |
#include "bindings/core/v8/Dictionary.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/IDLTypes.h" |
#include "bindings/core/v8/LongOrTestDictionary.h" |
+#include "bindings/core/v8/V8BindingForIDLTypes.h" |
#include "bindings/core/v8/V8DOMConfiguration.h" |
#include "bindings/core/v8/V8ObjectConstructor.h" |
#include "bindings/core/v8/V8TestDictionary.h" |
@@ -85,7 +87,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info) { |
HeapVector<LongOrTestDictionary> sequenceLongOrTestDictionaryArg; |
Dictionary optionalDictionaryArg; |
TestInterfaceEmpty* optionalTestInterfaceEmptyArg; |
- doubleArg = toRestrictedDouble(info.GetIsolate(), info[0], exceptionState); |
+ doubleArg = NativeValueTraits<IDLDouble>::nativeValue(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.hadException()) |
return; |
@@ -105,7 +107,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info) { |
return; |
} |
- dictionaryArg = Dictionary(info.GetIsolate(), info[3], exceptionState); |
+ dictionaryArg = NativeValueTraits<Dictionary>::nativeValue(info.GetIsolate(), info[3], exceptionState); |
if (exceptionState.hadException()) |
return; |
@@ -126,7 +128,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info) { |
return; |
} |
- optionalDictionaryArg = Dictionary(info.GetIsolate(), info[7], exceptionState); |
+ optionalDictionaryArg = NativeValueTraits<Dictionary>::nativeValue(info.GetIsolate(), info[7], exceptionState); |
if (exceptionState.hadException()) |
return; |