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

Unified Diff: Source/core/html/HTMLAllCollection.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/HTMLAllCollection.h
diff --git a/Source/core/html/HTMLAllCollection.h b/Source/core/html/HTMLAllCollection.h
index e41e7e4d4b88a92c192aeb4a9a9e4030db3fc3d7..d8d4e122281167fccee761afab1668ef27617c5b 100644
--- a/Source/core/html/HTMLAllCollection.h
+++ b/Source/core/html/HTMLAllCollection.h
@@ -30,6 +30,8 @@
namespace blink {
+class NodeListOrElement;
+
class HTMLAllCollection final : public HTMLCollection {
DEFINE_WRAPPERTYPEINFO();
public:
@@ -37,7 +39,7 @@ public:
virtual ~HTMLAllCollection();
Element* namedItemWithIndex(const AtomicString& name, unsigned index) const;
- void namedGetter(const AtomicString& name, RefPtrWillBeRawPtr<NodeList>&, RefPtrWillBeRawPtr<Element>&);
+ void namedGetter(const AtomicString& name, NodeListOrElement&);
private:
explicit HTMLAllCollection(ContainerNode&);

Powered by Google App Engine
This is Rietveld 408576698