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

Unified Diff: Source/core/html/HTMLFormControlsCollection.h

Issue 15076011: Support union return type for anonymous named/indexed getter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 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/core/html/HTMLFormControlsCollection.h
diff --git a/Source/core/html/HTMLFormControlsCollection.h b/Source/core/html/HTMLFormControlsCollection.h
index 022b0eb72484f1a239d1fccb599ab69b1b294edf..f806b788f59b654b62c52ad6dda9293e9119e8df 100644
--- a/Source/core/html/HTMLFormControlsCollection.h
+++ b/Source/core/html/HTMLFormControlsCollection.h
@@ -24,6 +24,8 @@
#define HTMLFormControlsCollection_h
#include "core/html/HTMLCollection.h"
+#include "core/html/RadioNodeList.h"
+#include "wtf/UnionType.h"
namespace WebCore {
@@ -42,6 +44,7 @@ public:
virtual ~HTMLFormControlsCollection();
virtual Node* namedItem(const AtomicString& name) const;
+ WTF::UnionType2<RadioNodeList, Node> namedGetter(const AtomicString& name);
private:
HTMLFormControlsCollection(Node*);

Powered by Google App Engine
This is Rietveld 408576698