Skip to content

Commit

Permalink
Fix #655: createPattern() can return null
Browse files Browse the repository at this point in the history
PR: #677
  • Loading branch information
MichaelKohler authored and annevk committed Feb 11, 2016
1 parent ee77b87 commit 392c10a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -59921,7 +59921,7 @@ interface <dfn>CanvasFillStrokeStyles</dfn> {
attribute (DOMString or CanvasGradient or CanvasPattern) <span data-x="dom-context-2d-fillStyle">fillStyle</span>; // (default black)
<span>CanvasGradient</span> <span data-x="dom-context-2d-createLinearGradient">createLinearGradient</span>(double x0, double y0, double x1, double y1);
<span>CanvasGradient</span> <span data-x="dom-context-2d-createRadialGradient">createRadialGradient</span>(double x0, double y0, double r0, double x1, double y1, double r1);
<span>CanvasPattern</span> <span data-x="dom-context-2d-createPattern">createPattern</span>(<span>CanvasImageSource</span> image, [TreatNullAs=EmptyString] DOMString repetition);
<span>CanvasPattern?</span> <span data-x="dom-context-2d-createPattern">createPattern</span>(<span>CanvasImageSource</span> image, [TreatNullAs=EmptyString] DOMString repetition);
<!--
// v8 we received one request from Ralf Richard G&oml;bel for a new kind of pattern: a hatch.
// basically it would be a series of dash styles, angles, line widths, and offsets
Expand Down Expand Up @@ -116696,6 +116696,7 @@ INSERT INTERFACES HERE
Michael Dyck,
Michael Enright,
Michael Gratton,
Michael Kohler,
Michael Nordman,
Michael Powers,
Michael Rakowski,
Expand Down

0 comments on commit 392c10a

Please sign in to comment.