Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.cpp |
index c6de14d2b7356e6ac08bef51f9a60420eab683dd..202427c5b8996bfdf220be6160ae879413219888 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.cpp |
@@ -12,8 +12,10 @@ |
#include "V8TestTypedefs.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/IDLTypes.h" |
#include "bindings/core/v8/StringOrDouble.h" |
#include "bindings/core/v8/TestInterfaceOrTestInterfaceEmpty.h" |
+#include "bindings/core/v8/V8BindingForIDLTypes.h" |
#include "bindings/core/v8/V8DOMConfiguration.h" |
#include "bindings/core/v8/V8ObjectConstructor.h" |
#include "bindings/core/v8/V8TestCallbackInterface.h" |
@@ -72,7 +74,7 @@ static void uLongLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, cons |
ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestTypedefs", "uLongLongAttribute"); |
// Prepare the value to be set. |
- uint64_t cppValue = toUInt64(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
+ uint64_t cppValue = NativeValueTraits<IDLUnsignedLongLong>::nativeValue(info.GetIsolate(), v8Value, exceptionState, NormalConversion); |
if (exceptionState.hadException()) |
return; |
@@ -140,7 +142,7 @@ static void voidMethodFloatArgStringArgMethod(const v8::FunctionCallbackInfo<v8: |
float floatArg; |
V8StringResource<> stringArg; |
- floatArg = toRestrictedFloat(info.GetIsolate(), info[0], exceptionState); |
+ floatArg = NativeValueTraits<IDLFloat>::nativeValue(info.GetIsolate(), info[0], exceptionState); |
if (exceptionState.hadException()) |
return; |