Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
index 3ab27ac1204909c140f5186f936caaad448b03a0..8456aba1db2b4de549857a809bf166dec4e1618a 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp |
@@ -934,18 +934,6 @@ void CanvasRenderingContext2D::beginPath() |
m_path.clear(); |
} |
-PassRefPtr<Path2D> CanvasRenderingContext2D::currentPath() |
-{ |
- return Path2D::create(m_path); |
-} |
- |
-void CanvasRenderingContext2D::setCurrentPath(Path2D* path) |
-{ |
- if (!path) |
- return; |
- m_path = path->path(); |
-} |
- |
static bool validateRectForCanvas(float& x, float& y, float& width, float& height) |
{ |
if (!std::isfinite(x) | !std::isfinite(y) | !std::isfinite(width) | !std::isfinite(height)) |