Title: [125973] trunk/Source/WebCore
- Revision
- 125973
- Author
- [email protected]
- Date
- 2012-08-19 05:02:38 -0700 (Sun, 19 Aug 2012)
Log Message
Remove unused ElementAttributeData::removeAttribute() overload.
<http://webkit.org/b/94425>
Reviewed by Antti Koivisto.
* dom/ElementAttributeData.h:
(ElementAttributeData):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (125972 => 125973)
--- trunk/Source/WebCore/ChangeLog 2012-08-19 09:24:01 UTC (rev 125972)
+++ trunk/Source/WebCore/ChangeLog 2012-08-19 12:02:38 UTC (rev 125973)
@@ -1,3 +1,13 @@
+2012-08-19 Andreas Kling <[email protected]>
+
+ Remove unused ElementAttributeData::removeAttribute() overload.
+ <http://webkit.org/b/94425>
+
+ Reviewed by Antti Koivisto.
+
+ * dom/ElementAttributeData.h:
+ (ElementAttributeData):
+
2012-08-18 Philip Rogers <[email protected]>
Refactor SVGMaskElement to inherit from StyledElement
Modified: trunk/Source/WebCore/dom/ElementAttributeData.h (125972 => 125973)
--- trunk/Source/WebCore/dom/ElementAttributeData.h 2012-08-19 09:24:01 UTC (rev 125972)
+++ trunk/Source/WebCore/dom/ElementAttributeData.h 2012-08-19 12:02:38 UTC (rev 125973)
@@ -79,7 +79,6 @@
// These functions do no error checking.
void addAttribute(const Attribute&, Element*, SynchronizationOfLazyAttribute = NotInSynchronizationOfLazyAttribute);
- void removeAttribute(const QualifiedName&, Element*);
void removeAttribute(size_t index, Element*, SynchronizationOfLazyAttribute = NotInSynchronizationOfLazyAttribute);
PassRefPtr<Attr> takeAttribute(size_t index, Element*);
@@ -135,15 +134,6 @@
return m_arraySize;
}
-inline void ElementAttributeData::removeAttribute(const QualifiedName& name, Element* element)
-{
- size_t index = getAttributeItemIndex(name);
- if (index == notFound)
- return;
-
- removeAttribute(index, element);
-}
-
inline Attribute* ElementAttributeData::getAttributeItem(const AtomicString& name, bool shouldIgnoreAttributeCase)
{
size_t index = getAttributeItemIndex(name, shouldIgnoreAttributeCase);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes