Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp |
index 7ec4601a1035c1e972e000dd924298ca73f226d6..8745a085e48cf280d411583c7ad68b12128560a3 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp |
@@ -13,6 +13,8 @@ |
#include "bindings/core/v8/BindingSecurity.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/IDLTypes.h" |
+#include "bindings/core/v8/V8BindingForIDLTypes.h" |
#include "bindings/core/v8/V8CrossOriginSetterInfo.h" |
#include "bindings/core/v8/V8DOMConfiguration.h" |
#include "bindings/core/v8/V8ObjectConstructor.h" |
@@ -77,7 +79,7 @@ static void longAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v8: |
ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestInterfaceCheckSecurity", "longAttribute"); |
// 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; |
@@ -99,7 +101,7 @@ static void doNotCheckSecurityLongAttributeAttributeSetter(v8::Local<v8::Value> |
ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestInterfaceCheckSecurity", "doNotCheckSecurityLongAttribute"); |
// 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; |
@@ -129,7 +131,7 @@ static void doNotCheckSecurityOnSetterLongAttributeAttributeSetter(v8::Local<v8: |
ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestInterfaceCheckSecurity", "doNotCheckSecurityOnSetterLongAttribute"); |
// 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; |