Index: Source/bindings/tests/results/core/V8TestObject.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestObject.cpp b/Source/bindings/tests/results/core/V8TestObject.cpp |
index 1c002b155542f9521e47f94837f7b246ef3f39d5..9601a3970ee5010a6d6ff55f013e569763bb182b 100644 |
--- a/Source/bindings/tests/results/core/V8TestObject.cpp |
+++ b/Source/bindings/tests/results/core/V8TestObject.cpp |
@@ -10936,10 +10936,10 @@ static void setMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
} |
TestObject* impl = V8TestObject::toImpl(info.Holder()); |
int key; |
- V8StringResource<> value; |
+ StringOrDouble value; |
{ |
TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(key, toInt32(info[0], exceptionState), exceptionState); |
- TOSTRING_VOID_INTERNAL(value, info[1]); |
+ TONATIVE_VOID_EXCEPTIONSTATE_ARGINTERNAL(V8StringOrDouble::toImpl(info.GetIsolate(), info[1], value, exceptionState), exceptionState); |
} |
ScriptState* scriptState = ScriptState::current(info.GetIsolate()); |
RefPtr<TestObject> result = impl->setForBinding(scriptState, key, value, exceptionState); |