2009-02-19 Dimitri Glazkov <dglazkov@chromium.org>
[WebKit-https.git] / WebCore / platform / graphics / skia / GraphicsContextSkia.cpp
index 65816fe977b97a5a7167a24cba9fb266620b8f64..34e4a1106855281fcb61e8d159f35978eb3e39fb 100644 (file)
@@ -1072,7 +1072,7 @@ void GraphicsContext::strokePath()
     if (paintingDisabled())
         return;
 
-    const SkPath& path = *platformContext()->currentPathInLocalCoordinates();
+    SkPath path = platformContext()->currentPathInLocalCoordinates();
     if (!isPathSkiaSafe(getCTM(), path))
         return;