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

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

Issue 132923003: Make sure the rootNode of a LiveNodeListBase is always a ContainerNode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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
« no previous file with comments | « Source/core/dom/TagNodeList.cpp ('k') | Source/core/html/HTMLAllCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLAllCollection.h
diff --git a/Source/core/html/HTMLAllCollection.h b/Source/core/html/HTMLAllCollection.h
index 1f8914648ff56344472bc30a2fa9e1d725661677..f6ba13a58e06a641b1e0767cdc39375e1bce2ceb 100644
--- a/Source/core/html/HTMLAllCollection.h
+++ b/Source/core/html/HTMLAllCollection.h
@@ -32,7 +32,7 @@ namespace WebCore {
class HTMLAllCollection FINAL : public HTMLCollection {
public:
- static PassRefPtr<HTMLAllCollection> create(Node*, CollectionType);
+ static PassRefPtr<HTMLAllCollection> create(ContainerNode*, CollectionType);
virtual ~HTMLAllCollection();
Node* namedItemWithIndex(const AtomicString& name, unsigned index) const;
@@ -40,7 +40,7 @@ public:
PassRefPtr<NodeList> tags(const AtomicString&);
private:
- HTMLAllCollection(Node*, CollectionType);
+ HTMLAllCollection(ContainerNode*, CollectionType);
};
} // namespace WebCore
« no previous file with comments | « Source/core/dom/TagNodeList.cpp ('k') | Source/core/html/HTMLAllCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698