Index: Source/core/dom/ClassNodeList.cpp |
diff --git a/Source/core/dom/ClassNodeList.cpp b/Source/core/dom/ClassNodeList.cpp |
index d980c7998172c7186cb0b6ebacb38a5c3c867564..39f85ef0b9169626c3c16d0c9502da422e0f0a43 100644 |
--- a/Source/core/dom/ClassNodeList.cpp |
+++ b/Source/core/dom/ClassNodeList.cpp |
@@ -35,7 +35,7 @@ |
namespace WebCore { |
-ClassNodeList::ClassNodeList(PassRefPtr<Node> rootNode, const AtomicString& classNames) |
+ClassNodeList::ClassNodeList(PassRefPtr<ContainerNode> rootNode, const AtomicString& classNames) |
: LiveNodeList(rootNode, ClassNodeListType, InvalidateOnClassAttrChange) |
, m_classNames(classNames, document().inQuirksMode()) |
, m_originalClassNames(classNames) |