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+
Andreas Kling
Comment 1 2011-12-20 12:29:01 PST
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
Note You need to log in before you can comment on or make changes to this bug.