From 1f45e255a4750a98bbbaa7290d811f7b8cd09b15 Mon Sep 17 00:00:00 2001 From: Michael Kohler Date: Thu, 11 Feb 2016 01:02:09 +0100 Subject: [PATCH] Fix #655 - Allow createPattern to return null --- source | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source b/source index 2a5d054b6b8..a0fd2ae9e37 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);