Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Unified Diff: Source/bindings/tests/results/core/V8TestObject.cpp

Issue 924443002: IDL: Support iterable<>/maplike<>/setlike<> referencing typedefs (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix the problem Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« Source/bindings/scripts/idl_definitions.py ('K') | « Source/bindings/tests/idls/core/TestObject.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698