Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl |
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl |
index ad37adb9734f179e020dbcbe130643d7009eb772..a2a897c6b8c639aa29cfba14f54948bf8da023b1 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl |
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl |
@@ -69,7 +69,7 @@ enum ImageSmoothingQuality {"low", "medium", "high"}; |
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); |
- [RaisesException] CanvasPattern createPattern(CanvasImageSource image, DOMString? repetitionType); |
+ [RaisesException] CanvasPattern? createPattern(CanvasImageSource image, [TreatNullAs=NullString] DOMString repetitionType); |
// shadows |
attribute unrestricted double shadowOffsetX; |