WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2013-02-13 15:18:24 PST
Created
attachment 188195
[details]
Patch
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
Committed
r142827
: <
http://trac.webkit.org/changeset/142827
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug