Index: third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.cpp |
index 49e0108422f890305f9f7481a94c22a1dfb673f5..8a7037d8ec1883bee4c6dd7ce13e2cc81f2956d9 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.cpp |
@@ -12,6 +12,8 @@ |
#include "LongOrTestDictionary.h" |
#include "bindings/core/v8/DoubleOrString.h" |
+#include "bindings/core/v8/IDLTypes.h" |
+#include "bindings/core/v8/NativeValueTraitsImpl.h" |
#include "bindings/core/v8/TestInterface2OrUint8Array.h" |
#include "bindings/core/v8/ToV8.h" |
@@ -87,7 +89,7 @@ void V8LongOrTestDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v |
} |
if (v8Value->IsNumber()) { |
- int32_t cppValue = toInt32(isolate, v8Value, NormalConversion, exceptionState); |
+ int32_t cppValue = NativeValueTraits<IDLLong>::nativeValue(isolate, v8Value, exceptionState, NormalConversion); |
if (exceptionState.hadException()) |
return; |
impl.setLong(cppValue); |
@@ -95,7 +97,7 @@ void V8LongOrTestDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v |
} |
{ |
- int32_t cppValue = toInt32(isolate, v8Value, NormalConversion, exceptionState); |
+ int32_t cppValue = NativeValueTraits<IDLLong>::nativeValue(isolate, v8Value, exceptionState, NormalConversion); |
if (exceptionState.hadException()) |
return; |
impl.setLong(cppValue); |