Index: Source/core/dom/ClassNodeList.cpp |
diff --git a/Source/core/dom/ClassNodeList.cpp b/Source/core/dom/ClassNodeList.cpp |
index f70f6714d302ebbee5a5401cab648c5d9e296da6..8b3621826798a88ad31d864d7f72d49a0007d368 100644 |
--- a/Source/core/dom/ClassNodeList.cpp |
+++ b/Source/core/dom/ClassNodeList.cpp |
@@ -37,7 +37,7 @@ namespace WebCore { |
ClassNodeList::ClassNodeList(PassRefPtr<Node> rootNode, const String& classNames) |
: LiveNodeList(rootNode, ClassNodeListType, InvalidateOnClassAttrChange) |
- , m_classNames(classNames, document()->inQuirksMode()) |
+ , m_classNames(classNames, document().inQuirksMode()) |
, m_originalClassNames(classNames) |
{ |
} |