Changeset 125973 in webkit
- Timestamp:
- Aug 19, 2012 5:02:38 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r125971 r125973 1 2012-08-19 Andreas Kling <kling@webkit.org> 2 3 Remove unused ElementAttributeData::removeAttribute() overload. 4 <http://webkit.org/b/94425> 5 6 Reviewed by Antti Koivisto. 7 8 * dom/ElementAttributeData.h: 9 (ElementAttributeData): 10 1 11 2012-08-18 Philip Rogers <pdr@google.com> 2 12 -
trunk/Source/WebCore/dom/ElementAttributeData.h
r124760 r125973 80 80 // These functions do no error checking. 81 81 void addAttribute(const Attribute&, Element*, SynchronizationOfLazyAttribute = NotInSynchronizationOfLazyAttribute); 82 void removeAttribute(const QualifiedName&, Element*);83 82 void removeAttribute(size_t index, Element*, SynchronizationOfLazyAttribute = NotInSynchronizationOfLazyAttribute); 84 83 PassRefPtr<Attr> takeAttribute(size_t index, Element*); … … 134 133 return m_mutableAttributeVector->size(); 135 134 return m_arraySize; 136 }137 138 inline void ElementAttributeData::removeAttribute(const QualifiedName& name, Element* element)139 {140 size_t index = getAttributeItemIndex(name);141 if (index == notFound)142 return;143 144 removeAttribute(index, element);145 135 } 146 136
Note: See TracChangeset
for help on using the changeset viewer.