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); |