Index: third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.idl |
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.idl b/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.idl |
index 6661cb6ffd3ee83dd13d27f19ccbd564266e721f..d0f23408a6ba9c6dcaf4cdc2436e976de64ab366 100644 |
--- a/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.idl |
+++ b/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.idl |
@@ -34,7 +34,7 @@ |
attribute (DOMString or CanvasGradient or CanvasPattern) fillStyle; // (default black) |
CanvasGradient createLinearGradient(double x0, double y0, double x1, double y1); |
[RaisesException] CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1, double y1, double r1); |
- [CallWith=ScriptState, RaisesException] CanvasPattern? createPattern(CanvasImageSource image, [TreatNullAs=NullString] DOMString repetitionType); |
+ [CallWith=ExecutionContext, RaisesException] CanvasPattern? createPattern(CanvasImageSource image, [TreatNullAs=NullString] DOMString repetitionType); |
// shadows |
attribute unrestricted double shadowOffsetX; |
@@ -62,9 +62,9 @@ |
boolean isPointInStroke(Path2D path, unrestricted double x, unrestricted double y); |
// drawing images |
- [RaisesException] void drawImage(CanvasImageSource image, unrestricted double x, unrestricted double y); |
- [RaisesException] void drawImage(CanvasImageSource image, unrestricted double x, unrestricted double y, unrestricted double width, unrestricted double height); |
- [RaisesException] void drawImage(CanvasImageSource image, unrestricted double sx, unrestricted double sy, unrestricted double sw, unrestricted double sh, unrestricted double dx, unrestricted double dy, unrestricted double dw, unrestricted double dh); |
+ [CallWith=ExecutionContext, RaisesException] void drawImage(CanvasImageSource image, unrestricted double x, unrestricted double y); |
+ [CallWith=ExecutionContext, RaisesException] void drawImage(CanvasImageSource image, unrestricted double x, unrestricted double y, unrestricted double width, unrestricted double height); |
+ [CallWith=ExecutionContext, RaisesException] void drawImage(CanvasImageSource image, unrestricted double sx, unrestricted double sy, unrestricted double sw, unrestricted double sh, unrestricted double dx, unrestricted double dy, unrestricted double dw, unrestricted double dh); |
// FIXME: factor out to CanvasDrawingStyles |
// line caps/joins |