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

Unified Diff: Source/core/html/RadioNodeList.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/RadioNodeList.h
diff --git a/Source/core/html/RadioNodeList.h b/Source/core/html/RadioNodeList.h
index 8a034a0df3ca3214c6ff791ce70d0b7580b2754b..0a8d2ef600bae99bb923b9b774b763316c989aa9 100644
--- a/Source/core/html/RadioNodeList.h
+++ b/Source/core/html/RadioNodeList.h
@@ -34,7 +34,7 @@ namespace WebCore {
class RadioNodeList FINAL : public LiveNodeList {
public:
- static PassRefPtr<RadioNodeList> create(Node* ownerNode, CollectionType type, const AtomicString& name)
+ static PassRefPtr<RadioNodeList> create(ContainerNode* ownerNode, CollectionType type, const AtomicString& name)
{
ASSERT_UNUSED(type, type == RadioNodeListType || type == RadioImgNodeListType);
return adoptRef(new RadioNodeList(ownerNode, name, type));
@@ -46,7 +46,7 @@ public:
void setValue(const String&);
private:
- RadioNodeList(Node*, const AtomicString& name, CollectionType);
+ RadioNodeList(ContainerNode*, const AtomicString& name, CollectionType);
bool checkElementMatchesRadioNodeListFilter(Element*) const;

Powered by Google App Engine
This is Rietveld 408576698