Index: Source/core/dom/ClassCollection.cpp |
diff --git a/Source/core/dom/ClassCollection.cpp b/Source/core/dom/ClassCollection.cpp |
index 63e554c0d31039c704f23f75f803983b8dddeb37..73d6a3ae87f82aaedd54b3eb446d055a9d632309 100644 |
--- a/Source/core/dom/ClassCollection.cpp |
+++ b/Source/core/dom/ClassCollection.cpp |
@@ -35,7 +35,7 @@ |
namespace WebCore { |
-ClassCollection::ClassCollection(ContainerNode* rootNode, const AtomicString& classNames) |
+ClassCollection::ClassCollection(ContainerNode& rootNode, const AtomicString& classNames) |
: HTMLCollection(rootNode, ClassCollectionType, DoesNotOverrideItemAfter) |
, m_classNames(classNames, document().inQuirksMode()) |
, m_originalClassNames(classNames) |