[Webkit-unassigned] [Bug 85294] Use HashMap<OwnPtr> for CounterMap in RenderCounter
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 2 12:34:39 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=85294
--- Comment #5 from Darin Adler <darin at apple.com> 2012-05-02 12:34:39 PST ---
(From update of attachment 139643)
View in context: https://bugs.webkit.org/attachment.cgi?id=139643&action=review
> Source/WebCore/rendering/RenderCounter.cpp:443
> nodeMap = new CounterMap;
> - counterMaps().set(object, nodeMap);
> + counterMaps().set(object, adoptPtr(nodeMap));
It would have been better to do a version of this where the adoptPtr and the new are on the same line of code.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list