Index: Source/core/html/ClassList.cpp |
diff --git a/Source/core/html/ClassList.cpp b/Source/core/html/ClassList.cpp |
index 9a5c062e557949b2d42a0ef79c4a68eb0d58f977..322f3254c31a2d602a8e4ed417156781d426a724 100644 |
--- a/Source/core/html/ClassList.cpp |
+++ b/Source/core/html/ClassList.cpp |
@@ -70,7 +70,7 @@ const SpaceSplitString& ClassList::classNames() const |
m_classNamesForQuirksMode = adoptPtr(new SpaceSplitString(value(), false)); |
return *m_classNamesForQuirksMode.get(); |
} |
- return m_element->elementData()->classNames(); |
+ return m_element->classNames(); |
} |
void ClassList::trace(Visitor* visitor) |