Index: Source/core/html/ClassList.h |
diff --git a/Source/core/html/ClassList.h b/Source/core/html/ClassList.h |
index d1f812a304d6e39fe49fb026140dc83290460cec..94536316998abd0f6e85f9dccae78370ee56ebc9 100644 |
--- a/Source/core/html/ClassList.h |
+++ b/Source/core/html/ClassList.h |
@@ -62,7 +62,7 @@ private: |
const SpaceSplitString& classNames() const; |
- virtual AtomicString value() const OVERRIDE { return m_element->getAttribute(HTMLNames::classAttr); } |
+ virtual const AtomicString& value() const OVERRIDE { return m_element->getAttribute(HTMLNames::classAttr); } |
virtual void setValue(const AtomicString& value) OVERRIDE { m_element->setAttribute(HTMLNames::classAttr, value); } |
Element* m_element; |