RESOLVED FIXED 109756
Remove Element::getAttributeItem() overload that returned a mutable Attribute*.
https://bugs.webkit.org/show_bug.cgi?id=109756
Summary Remove Element::getAttributeItem() overload that returned a mutable Attribute*.
Andreas Kling
Reported 2013-02-13 15:16:19 PST
It's a bit goofy to have an Element::getAttributeItem() that converts m_elementData to UniqueElementData. This happens unintentionally in a few places where callers simply want to read an attribute value but are calling through an Element*.
Attachments
Patch (5.10 KB, patch)
2013-02-13 15:18 PST, Andreas Kling
koivisto: review+
Andreas Kling
Comment 1 2013-02-13 15:18:24 PST
Antti Koivisto
Comment 2 2013-02-13 16:24:21 PST
Comment on attachment 188195 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=188195&action=review > Source/WebCore/dom/Element.h:287 > const Attribute* getAttributeItem(const QualifiedName&) const; Some day these should get WebKit style names.
Andreas Kling
Comment 3 2013-02-13 17:14:10 PST
Note You need to log in before you can comment on or make changes to this bug.