Use HashMap<OwnPtr> for CounterMap in RenderCounter
Created attachment 139643 [details] Patch Proposed patch.
Comment on attachment 139643 [details] Patch Seems reasonable. I believe it's safe to use an OwnPtr as a HashMap value.
Comment on attachment 139643 [details] Patch Clearing flags on attachment: 139643 Committed r115736: <http://trac.webkit.org/changeset/115736>
All reviewed patches have been landed. Closing bug.
Comment on attachment 139643 [details] Patch 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.