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

Unified Diff: Source/core/html/LabelsNodeList.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/html/LabelableElement.cpp ('k') | Source/core/html/LabelsNodeList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/LabelsNodeList.h
diff --git a/Source/core/html/LabelsNodeList.h b/Source/core/html/LabelsNodeList.h
index 919edb1b0bbd5006c8f6d2c9d910819efd322aee..889425755e0bd714ac441d88af41a40f20ce5f3d 100644
--- a/Source/core/html/LabelsNodeList.h
+++ b/Source/core/html/LabelsNodeList.h
@@ -32,7 +32,7 @@ namespace WebCore {
class LabelsNodeList FINAL : public LiveNodeList {
public:
- static PassRefPtr<LabelsNodeList> create(ContainerNode* ownerNode, CollectionType type)
+ static PassRefPtr<LabelsNodeList> create(ContainerNode& ownerNode, CollectionType type)
{
ASSERT_UNUSED(type, type == LabelsNodeListType);
return adoptRef(new LabelsNodeList(ownerNode));
@@ -41,7 +41,7 @@ public:
virtual ~LabelsNodeList();
protected:
- explicit LabelsNodeList(ContainerNode*);
+ explicit LabelsNodeList(ContainerNode&);
virtual bool nodeMatches(const Element&) const OVERRIDE;
};
« no previous file with comments | « Source/core/html/LabelableElement.cpp ('k') | Source/core/html/LabelsNodeList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698