Index: Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp b/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp |
index dd041eb8cbb6cb65236a4de59a55dfb97da18134..4fa18ea33c021476cfd11f4c8ff38b82e079d2a2 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp |
@@ -158,7 +158,7 @@ static void forEachMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (!info[0]->IsFunction()) { |
exceptionState.throwTypeError("The callback provided as parameter 1 is not a function."); |
- exceptionState.throwIfNeeded(); |
+ exceptionState.throwIfNeeded(); |
return; |
} |
callback = ScriptValue(ScriptState::current(info.GetIsolate()), info[0]); |
@@ -190,7 +190,7 @@ static void hasMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toImpl(info.Holder()); |
V8StringResource<> value; |
{ |
- TOSTRING_VOID_INTERNAL(value, info[0]); |
+ TONATIVE_CONVERT((value = info[0]).prepare(), return); |
} |
ScriptState* scriptState = ScriptState::current(info.GetIsolate()); |
bool result = impl->hasForBinding(scriptState, value, exceptionState); |
@@ -219,7 +219,7 @@ static void addMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toImpl(info.Holder()); |
V8StringResource<> value; |
{ |
- TOSTRING_VOID_INTERNAL(value, info[0]); |
+ TONATIVE_CONVERT((value = info[0]).prepare(), return); |
} |
ScriptState* scriptState = ScriptState::current(info.GetIsolate()); |
RawPtr<TestInterfaceGarbageCollected> result = impl->addForBinding(scriptState, value, exceptionState); |
@@ -267,7 +267,7 @@ static void deleteMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toImpl(info.Holder()); |
V8StringResource<> value; |
{ |
- TOSTRING_VOID_INTERNAL(value, info[0]); |
+ TONATIVE_CONVERT((value = info[0]).prepare(), return); |
} |
ScriptState* scriptState = ScriptState::current(info.GetIsolate()); |
bool result = impl->deleteForBinding(scriptState, value, exceptionState); |
@@ -313,7 +313,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
} |
V8StringResource<> str; |
{ |
- TOSTRING_VOID_INTERNAL(str, info[0]); |
+ TONATIVE_CONVERT((str = info[0]).prepare(), return); |
} |
RawPtr<TestInterfaceGarbageCollected> impl = TestInterfaceGarbageCollected::create(str); |
v8::Local<v8::Object> wrapper = info.Holder(); |