Index: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp |
index 6d3ada69ca43ad5dd32e64d6e6bd4a5bef31a452..49c48ba26b038c19e863367ac61d608eef36d7af 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp |
@@ -12,6 +12,8 @@ |
#include "V8TestInterfacePartial.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/IDLTypes.h" |
+#include "bindings/core/v8/NativeValueTraitsImpl.h" |
#include "bindings/core/v8/ScriptPromise.h" |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/v8/V8DOMConfiguration.h" |
@@ -46,7 +48,7 @@ static void partial4LongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c |
ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestInterface", "partial4LongAttribute"); |
// Prepare the value to be set. |
- int32_t cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
+ int32_t cppValue = NativeValueTraits<IDLLong>::nativeValue(info.GetIsolate(), v8Value, exceptionState, NormalConversion); |
if (exceptionState.hadException()) |
return; |
@@ -61,7 +63,7 @@ static void partial4StaticLongAttributeAttributeSetter(v8::Local<v8::Value> v8Va |
ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestInterface", "partial4StaticLongAttribute"); |
// Prepare the value to be set. |
- int32_t cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState); |
+ int32_t cppValue = NativeValueTraits<IDLLong>::nativeValue(info.GetIsolate(), v8Value, exceptionState, NormalConversion); |
if (exceptionState.hadException()) |
return; |