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

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

Issue 1118993002: Oilpan: IDL union objects should be put in HeapVector (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/V8TestInterfaceConstructor.cpp
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp b/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp
index 4ed9effe4302c8b1169e0d9c707a0afc73b1c438..6380ca8ae018a070cff47f3da457bfe50072a698 100644
--- a/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp
+++ b/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp
@@ -59,7 +59,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info)
Dictionary dictionaryArg;
Vector<String> sequenceStringArg;
Vector<Dictionary> sequenceDictionaryArg;
- Vector<LongOrTestDictionary> sequenceLongOrTestDictionaryArg;
+ HeapVector<LongOrTestDictionary> sequenceLongOrTestDictionaryArg;
Dictionary optionalDictionaryArg;
TestInterfaceEmpty* optionalTestInterfaceEmptyArg;
{
@@ -84,7 +84,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info)
sequenceDictionaryArg = toImplArray<Vector<Dictionary>>(info[5], 6, info.GetIsolate(), exceptionState);
if (exceptionState.throwIfNeeded())
return;
- sequenceLongOrTestDictionaryArg = toImplArray<Vector<LongOrTestDictionary>>(info[6], 7, info.GetIsolate(), exceptionState);
+ sequenceLongOrTestDictionaryArg = toImplArray<HeapVector<LongOrTestDictionary>>(info[6], 7, info.GetIsolate(), exceptionState);
if (exceptionState.throwIfNeeded())
return;
if (!isUndefinedOrNull(info[7]) && !info[7]->IsObject()) {
« no previous file with comments | « Source/bindings/tests/results/core/UnionTypesCore.h ('k') | Source/bindings/tests/results/modules/UnionTypesModules.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698