From 392c10a84c9fffc20d05157343d6f92fa55dc71d Mon Sep 17 00:00:00 2001 From: Michael Kohler Date: Thu, 11 Feb 2016 01:02:09 +0100 Subject: [PATCH] Fix #655: createPattern() can return null PR: https://github.com/whatwg/html/pull/677 --- source | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source b/source index 4d3eee86ebe..68eea5ec21f 100644 --- a/source +++ b/source @@ -59921,7 +59921,7 @@ interface CanvasFillStrokeStyles { attribute (DOMString or CanvasGradient or CanvasPattern) fillStyle; // (default black) CanvasGradient createLinearGradient(double x0, double y0, double x1, double y1); CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1, double y1, double r1); - CanvasPattern createPattern(CanvasImageSource image, [TreatNullAs=EmptyString] DOMString repetition); + CanvasPattern? createPattern(CanvasImageSource image, [TreatNullAs=EmptyString] DOMString repetition);