summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/ClassNodeList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/ClassNodeList.cpp')
-rw-r--r--WebCore/dom/ClassNodeList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/dom/ClassNodeList.cpp b/WebCore/dom/ClassNodeList.cpp
index d482359..60d668b 100644
--- a/WebCore/dom/ClassNodeList.cpp
+++ b/WebCore/dom/ClassNodeList.cpp
@@ -37,7 +37,7 @@ namespace WebCore {
ClassNodeList::ClassNodeList(PassRefPtr<Node> rootNode, const String& classNames)
: DynamicNodeList(rootNode)
- , m_classNames(classNames, m_rootNode->document()->inCompatMode())
+ , m_classNames(classNames, m_rootNode->document()->inQuirksMode())
, m_originalClassNames(classNames)
{
}