| Index: Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp b/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp
|
| index 4edd95c60e9b543a975e71c1eff491ce3d1223fe..f936b1400efec05099dbfa28695fb9751b560be7 100644
|
| --- a/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp
|
| @@ -63,7 +63,9 @@ static void doNotCheckSecurityLongAttributeAttributeSetter(v8::Local<v8::Value>
|
| v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "doNotCheckSecurityLongAttribute", "TestInterfaceCheckSecurity", holder, info.GetIsolate());
|
| TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(holder);
|
| - TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| + int cppValue = toInt32(v8Value, exceptionState);
|
| + if (exceptionState.throwIfNeeded())
|
| + return;
|
| impl->setDoNotCheckSecurityLongAttribute(cppValue);
|
| }
|
|
|
| @@ -107,7 +109,9 @@ static void doNotCheckSecurityOnSetterLongAttributeAttributeSetter(v8::Local<v8:
|
| v8::Local<v8::Object> holder = info.Holder();
|
| ExceptionState exceptionState(ExceptionState::SetterContext, "doNotCheckSecurityOnSetterLongAttribute", "TestInterfaceCheckSecurity", holder, info.GetIsolate());
|
| TestInterfaceCheckSecurity* impl = V8TestInterfaceCheckSecurity::toImpl(holder);
|
| - TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState);
|
| + int cppValue = toInt32(v8Value, exceptionState);
|
| + if (exceptionState.throwIfNeeded())
|
| + return;
|
| impl->setDoNotCheckSecurityOnSetterLongAttribute(cppValue);
|
| }
|
|
|
|
|