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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp

Issue 1873323002: Have bindings layer assume and insist that all interface types are GCed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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: third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
index de17ded23fac3dfabc2335f74e22a60de002bd6a..5c24116bf0a36b7d9cedc36b4abd4031844a4e8a 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
@@ -19,7 +19,7 @@ TestDictionary::TestDictionary()
setStringOrNullMember(String("default string value"));
setStringSequenceMember(Vector<String>());
setTestInterfaceGarbageCollectedSequenceMember(HeapVector<Member<TestInterfaceGarbageCollected>>());
- setTestInterfaceSequenceMember(Vector<RefPtr<TestInterfaceImplementation>>());
+ setTestInterfaceSequenceMember(HeapVector<Member<TestInterfaceImplementation>>());
setUnrestrictedDoubleMember(3.14);
}
@@ -39,6 +39,9 @@ DEFINE_TRACE(TestDictionary)
visitor->trace(m_testInterfaceGarbageCollectedMember);
visitor->trace(m_testInterfaceGarbageCollectedOrNullMember);
visitor->trace(m_testInterfaceGarbageCollectedSequenceMember);
+ visitor->trace(m_testInterfaceMember);
+ visitor->trace(m_testInterfaceOrNullMember);
+ visitor->trace(m_testInterfaceSequenceMember);
visitor->trace(m_uint8ArrayMember);
}

Powered by Google App Engine
This is Rietveld 408576698