Index: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl |
diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl |
index 2d5d55252e8af569976c4d53528ff972116605d5..755300f081f03c0a18774d2c4fd25f108e549191 100644 |
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl |
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl |
@@ -14,6 +14,9 @@ |
// colors and styles |
attribute (DOMString or CanvasGradient or CanvasPattern) strokeStyle; // (default black) |
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, Exposed=Worker] CanvasPattern? createPattern(CanvasImageSource image, [TreatNullAs=NullString] DOMString repetitionType); |
// CanvasRect interface |
void clearRect(unrestricted double x, unrestricted double y, unrestricted double width, unrestricted double height); |