Chromium Code Reviews| Index: Source/core/html/ClassList.h |
| diff --git a/Source/core/html/ClassList.h b/Source/core/html/ClassList.h |
| index 13444d972532aeed4dc00888cc927db7babcc405..82f051761ceb8e28716820ed4dd65a504aa22cdc 100644 |
| --- a/Source/core/html/ClassList.h |
| +++ b/Source/core/html/ClassList.h |
| @@ -59,6 +59,8 @@ public: |
| virtual void trace(Visitor*) OVERRIDE; |
| + virtual void setValue(const AtomicString& value) OVERRIDE { m_element->setAttribute(HTMLNames::classAttr, value); } |
|
Inactive
2014/07/17 19:37:57
As per the spec, "The IDL attribute relList must r
|
| + |
| private: |
| explicit ClassList(Element*); |
| @@ -67,7 +69,6 @@ private: |
| const SpaceSplitString& classNames() const; |
| 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); } |
| RawPtrWillBeMember<Element> m_element; |
| mutable OwnPtr<SpaceSplitString> m_classNamesForQuirksMode; |