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

Unified Diff: Source/core/html/LabelsNodeList.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: Slightly clearer cast 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
Index: Source/core/html/LabelsNodeList.h
diff --git a/Source/core/html/LabelsNodeList.h b/Source/core/html/LabelsNodeList.h
index 35f36c3ecefec83f17f207f8dc80bc9210fa88b1..2985fac3ab692794ac0c9e79285f1fe5c8428c78 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(Node* ownerNode, CollectionType type, const AtomicString&)
+ static PassRefPtr<LabelsNodeList> create(ContainerNode* ownerNode, CollectionType type, const AtomicString&)
{
ASSERT_UNUSED(type, type == LabelsNodeListType);
return adoptRef(new LabelsNodeList(ownerNode));
@@ -41,7 +41,7 @@ public:
virtual ~LabelsNodeList();
protected:
- explicit LabelsNodeList(Node*);
+ explicit LabelsNodeList(ContainerNode*);
virtual bool nodeMatches(Element*) const OVERRIDE;
};

Powered by Google App Engine
This is Rietveld 408576698