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

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

Issue 680193003: IDL: Generate union type containers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/HTMLOptionsCollection.h
diff --git a/Source/core/html/HTMLOptionsCollection.h b/Source/core/html/HTMLOptionsCollection.h
index baa493eb2904f4aebd7f1cf54754afeb9b2f9270..86a2c8c9e2841d8ec306a5f83907f4102738b5f1 100644
--- a/Source/core/html/HTMLOptionsCollection.h
+++ b/Source/core/html/HTMLOptionsCollection.h
@@ -30,6 +30,7 @@
namespace blink {
class ExceptionState;
+class NodeListOrElement;
class HTMLOptionsCollection final : public HTMLCollection {
DEFINE_WRAPPERTYPEINFO();
@@ -46,7 +47,7 @@ public:
void setSelectedIndex(int);
void setLength(unsigned, ExceptionState&);
- void namedGetter(const AtomicString& name, RefPtrWillBeRawPtr<NodeList>&, RefPtrWillBeRawPtr<Element>&);
+ void namedGetter(const AtomicString& name, NodeListOrElement&);
bool anonymousIndexedSetter(unsigned, PassRefPtrWillBeRawPtr<HTMLOptionElement>, ExceptionState&);
bool elementMatches(const HTMLElement&) const;

Powered by Google App Engine
This is Rietveld 408576698