Changeset 146273 in webkit
- Timestamp:
- Mar 19, 2013, 4:07:39 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r146272 r146273 1 2013-03-19 Geoffrey Garen <ggaren@apple.com> 2 3 Removed a using declaration to avoid name conflicts 4 https://bugs.webkit.org/show_bug.cgi?id=112752 5 6 Reviewed by Ryosuke Niwa. 7 8 * html/ClassList.cpp: Put the using declaration here instead. 9 10 * html/ClassList.h: Don't put a using declaration in this header because 11 it can cause name conflicts with SVGNames. 12 1 13 2013-03-18 Ojan Vafai <ojan@chromium.org> 2 14 -
trunk/Source/WebCore/html/ClassList.cpp
r142791 r146273 31 31 32 32 namespace WebCore { 33 34 using namespace HTMLNames; 33 35 34 36 ClassList::ClassList(Element* element) : m_element(element) { } -
trunk/Source/WebCore/html/ClassList.h
r138691 r146273 36 36 namespace WebCore { 37 37 38 using namespace HTMLNames;39 40 38 class Element; 41 39 … … 66 64 const SpaceSplitString& classNames() const; 67 65 68 virtual AtomicString value() const OVERRIDE { return m_element->getAttribute( classAttr); }69 virtual void setValue(const AtomicString& value) OVERRIDE { m_element->setAttribute( classAttr, value); }66 virtual AtomicString value() const OVERRIDE { return m_element->getAttribute(HTMLNames::classAttr); } 67 virtual void setValue(const AtomicString& value) OVERRIDE { m_element->setAttribute(HTMLNames::classAttr, value); } 70 68 71 69 Element* m_element;
Note:
See TracChangeset
for help on using the changeset viewer.