Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / canvas / CanvasPathMethods.h
index e34716c..73da012 100644 (file)
@@ -34,7 +34,6 @@
 namespace blink {
 
 class ExceptionState;
-class FloatRect;
 
 class CanvasPathMethods {
 public:
@@ -53,8 +52,11 @@ public:
     virtual bool isTransformInvertible() const { return true; }
 
 protected:
-    CanvasPathMethods() { }
-    CanvasPathMethods(const Path& path) : m_path(path) { }
+    CanvasPathMethods() { m_path.setIsVolatile(true); }
+    CanvasPathMethods(const Path& path) : m_path(path)
+    {
+        m_path.setIsVolatile(true);
+    }
     Path m_path;
 };
 }