Index: Source/core/html/canvas/CanvasRenderingContext2D.idl |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.idl b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
index 14e38f0f330eb11b01e4786a4854d7d0cb62cfb6..d0768c39cee37a45d10c64b9873c715cd6af4bf1 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.idl |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
@@ -67,17 +67,6 @@ interface CanvasRenderingContext2D { |
attribute Path currentPath; |
- // FIXME: These methods should be shared with CanvasRenderingContext2D in the CanvasPathMethods interface. |
- void closePath(); |
- void moveTo(float x, float y); |
- void lineTo(float x, float y); |
- void quadraticCurveTo(float cpx, float cpy, float x, float y); |
- void bezierCurveTo(float cp1x, float cp1y, float cp2x, float cp2y, float x, float y); |
- [RaisesException] void arcTo(float x1, float y1, float x2, float y2, float radius); |
- void rect(float x, float y, float width, float height); |
- [RaisesException] void arc(float x, float y, float radius, float startAngle, float endAngle, [Default=Undefined] optional boolean anticlockwise); |
- [RaisesException] void ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, [Default=Undefined] optional boolean anticlockwise); |
- |
// FIXME: Simplify these using optional CanvasWindingRule once crbug.com/339000 gets fixed. |
void fill(); |
[RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void fill(Path? path); |
@@ -189,3 +178,4 @@ interface CanvasRenderingContext2D { |
Canvas2DContextAttributes getContextAttributes(); |
}; |
+CanvasRenderingContext2D implements CanvasPathMethods; |