WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
74948
NamedNodeMap: Get rid of declCount().
https://bugs.webkit.org/show_bug.cgi?id=74948
Summary
NamedNodeMap: Get rid of declCount().
Andreas Kling
Reported
2011-12-20 12:22:52 PST
We don't need NamedNodeMap::declCount() since we're already tracking the number of mapped attributes via the declAdded()/declRemoved() methods.
Attachments
Patch
(2.52 KB, patch)
2011-12-20 12:29 PST
,
Andreas Kling
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2011-12-20 12:29:01 PST
Created
attachment 120059
[details]
Patch
Andreas Kling
Comment 2
2011-12-20 14:54:51 PST
Comment on
attachment 120059
[details]
Patch Looking closer, I'm not sure this is correct. There might be cases where we have a mapped attribute with a null decl in the attribute map. Need to investigate further.
Andreas Kling
Comment 3
2011-12-22 09:49:11 PST
Comment on
attachment 120059
[details]
Patch Never mind, this is correct AFAICT. I had misunderstood the role of a mapped attribute's style declaration.
Andreas Kling
Comment 4
2011-12-22 10:44:33 PST
Committed
r103557
: <
http://trac.webkit.org/changeset/103557
>
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