Index: Source/core/html/canvas/CanvasRenderingContext2D.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h |
index baedc4904af3800c8d3e9f220bf94eaa8521445f..191006a7ceb1fa476112734172f3a1487919499e 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h |
@@ -49,7 +49,7 @@ namespace WebCore { |
class CanvasGradient; |
class CanvasPattern; |
class CanvasStyle; |
-class DOMPath; |
+class DOMPath2D; |
class Element; |
class ExceptionState; |
class FloatRect; |
@@ -145,14 +145,14 @@ public: |
void beginPath(); |
- PassRefPtr<DOMPath> currentPath(); |
- void setCurrentPath(DOMPath*); |
+ PassRefPtr<DOMPath2D> currentPath(); |
+ void setCurrentPath(DOMPath2D*); |
void fill(const String& winding = "nonzero"); |
- void fill(DOMPath*, const String& winding = "nonzero"); |
+ void fill(DOMPath2D*, const String& winding = "nonzero"); |
void stroke(); |
- void stroke(DOMPath*); |
+ void stroke(DOMPath2D*); |
void clip(const String& winding = "nonzero"); |
- void clip(DOMPath*, const String& winding = "nonzero"); |
+ void clip(DOMPath2D*, const String& winding = "nonzero"); |
bool isPointInPath(const float x, const float y, const String& winding = "nonzero"); |
bool isPointInStroke(const float x, const float y); |