Index: Source/core/html/canvas/CanvasRenderingContext2D.idl |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.idl b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
index f6b67b286139f62e007e5c0011563e53e08337b8..4afeef78f46345b5c644a8a315debe6d7c892109 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.idl |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
@@ -71,9 +71,9 @@ enum CanvasFillRule { "nonzero", "evenodd" }; |
[Custom] attribute object fillStyle; // (default black) |
CanvasGradient createLinearGradient(float x0, float y0, float x1, float y1); |
[RaisesException] CanvasGradient createRadialGradient(float x0, float y0, float r0, float x1, float y1, float r1); |
- [RaisesException] CanvasPattern createPattern(HTMLCanvasElement canvas, [TreatNullAs=NullString] DOMString repetitionType); |
- [RaisesException] CanvasPattern createPattern(HTMLImageElement image, [TreatNullAs=NullString] DOMString repetitionType); |
- [RaisesException] CanvasPattern createPattern(HTMLVideoElement image, [TreatNullAs=NullString] DOMString repetitionType); |
+ [RaisesException] CanvasPattern createPattern(HTMLCanvasElement canvas, DOMString? repetitionType); |
+ [RaisesException] CanvasPattern createPattern(HTMLImageElement image, DOMString? repetitionType); |
+ [RaisesException] CanvasPattern createPattern(HTMLVideoElement image, DOMString? repetitionType); |
// shadows |
attribute unrestricted float shadowOffsetX; |