Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1016)

Unified Diff: Source/core/html/ClassList.h

Issue 400763002: Adding relList attr to link and anchor element Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/html/HTMLLinkElement.h » ('j') | Source/core/html/HTMLLinkElement.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | Source/core/html/HTMLLinkElement.h » ('j') | Source/core/html/HTMLLinkElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698