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

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

Issue 176933013: Pass rootNode by reference when constructing node lists / collections (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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/TagCollection.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 010a44bde762f833b0c53a1566899f80a5388f81..64aec845436350c7696e110c8a5fb7d178b0bcdd 100644
--- a/Source/core/html/HTMLAllCollection.h
+++ b/Source/core/html/HTMLAllCollection.h
@@ -32,14 +32,14 @@ namespace WebCore {
class HTMLAllCollection FINAL : public HTMLCollection {
public:
- static PassRefPtr<HTMLAllCollection> create(ContainerNode*, CollectionType);
+ static PassRefPtr<HTMLAllCollection> create(ContainerNode&, CollectionType);
virtual ~HTMLAllCollection();
Element* namedItemWithIndex(const AtomicString& name, unsigned index) const;
void namedGetter(const AtomicString& name, bool&, RefPtr<NodeList>&, bool&, RefPtr<Element>&);
private:
- HTMLAllCollection(ContainerNode*, CollectionType);
+ HTMLAllCollection(ContainerNode&, CollectionType);
};
} // namespace WebCore
« no previous file with comments | « Source/core/dom/TagCollection.cpp ('k') | Source/core/html/HTMLAllCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698