Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: trunk/Source/core/rendering/svg/SVGPathData.cpp

Issue 18196004: Revert 153294 "Remove AtomicStringImpl." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/Source/core/page/animation/CompositeAnimation.cpp ('k') | trunk/Source/core/scripts/make_names.pl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/rendering/svg/SVGPathData.cpp
===================================================================
--- trunk/Source/core/rendering/svg/SVGPathData.cpp (revision 153372)
+++ trunk/Source/core/rendering/svg/SVGPathData.cpp (working copy)
@@ -149,9 +149,9 @@
ASSERT(path.isEmpty());
typedef void (*PathUpdateFunction)(SVGElement*, Path&);
- static HashMap<StringImpl*, PathUpdateFunction>* map = 0;
+ static HashMap<AtomicStringImpl*, PathUpdateFunction>* map = 0;
if (!map) {
- map = new HashMap<StringImpl*, PathUpdateFunction>;
+ map = new HashMap<AtomicStringImpl*, PathUpdateFunction>;
map->set(SVGNames::circleTag.localName().impl(), updatePathFromCircleElement);
map->set(SVGNames::ellipseTag.localName().impl(), updatePathFromEllipseElement);
map->set(SVGNames::lineTag.localName().impl(), updatePathFromLineElement);
« no previous file with comments | « trunk/Source/core/page/animation/CompositeAnimation.cpp ('k') | trunk/Source/core/scripts/make_names.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698