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

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

Issue 2752223002: bindings: Add the proper includes for unions inside records (Closed)
Patch Set: Created 3 years, 9 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 e8357a8e2e7f1a816befcd4e0ad4c5691e045af8..6983701611739f2651094a51b2ba05b3526195cb 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestDictionary.cpp
@@ -395,6 +395,17 @@ DOMUint8Array* TestDictionary::uint8ArrayMember() const {
void TestDictionary::setUint8ArrayMember(DOMUint8Array* value) {
m_uint8ArrayMember = value;
}
+bool TestDictionary::hasUnionInRecordMember() const {
+ return m_hasUnionInRecordMember;
+}
+const HeapVector<std::pair<String, LongOrBoolean>>& TestDictionary::unionInRecordMember() const {
+ DCHECK(m_hasUnionInRecordMember);
+ return m_unionInRecordMember;
+}
+void TestDictionary::setUnionInRecordMember(const HeapVector<std::pair<String, LongOrBoolean>>& value) {
+ m_unionInRecordMember = value;
+ m_hasUnionInRecordMember = true;
+}
bool TestDictionary::hasUnionWithTypedefs() const {
return !m_unionWithTypedefs.isNull();
}
@@ -433,6 +444,7 @@ DEFINE_TRACE(TestDictionary) {
visitor->trace(m_testInterfaceSequenceMember);
visitor->trace(m_testObjectSequenceMember);
visitor->trace(m_uint8ArrayMember);
+ visitor->trace(m_unionInRecordMember);
visitor->trace(m_unionWithTypedefs);
IDLDictionaryBase::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698