Changeset 125973 in webkit


Ignore:
Timestamp:
Aug 19, 2012 5:02:38 AM (12 years ago)
Author:
kling@webkit.org
Message:

Remove unused ElementAttributeData::removeAttribute() overload.
<http://webkit.org/b/94425>

Reviewed by Antti Koivisto.

  • dom/ElementAttributeData.h:

(ElementAttributeData):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r125971 r125973  
     12012-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
    1112012-08-18  Philip Rogers  <pdr@google.com>
    212
  • trunk/Source/WebCore/dom/ElementAttributeData.h

    r124760 r125973  
    8080    // These functions do no error checking.
    8181    void addAttribute(const Attribute&, Element*, SynchronizationOfLazyAttribute = NotInSynchronizationOfLazyAttribute);
    82     void removeAttribute(const QualifiedName&, Element*);
    8382    void removeAttribute(size_t index, Element*, SynchronizationOfLazyAttribute = NotInSynchronizationOfLazyAttribute);
    8483    PassRefPtr<Attr> takeAttribute(size_t index, Element*);
     
    134133        return m_mutableAttributeVector->size();
    135134    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);
    145135}
    146136
Note: See TracChangeset for help on using the changeset viewer.