<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[165976] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/165976">165976</a></dd>
<dt>Author</dt> <dd>krit@webkit.org</dd>
<dt>Date</dt> <dd>2014-03-20 11:24:34 -0700 (Thu, 20 Mar 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Canvas methods clip/fill/stroke should not except 0 argument
https://bugs.webkit.org/show_bug.cgi?id=130497

Reviewed by Dean Jackson.

Source/WebCore:

Do not allow nullable argument for fill/stroke/clip.

No new tests. Updated existing tests.

* html/canvas/CanvasRenderingContext2D.idl:

LayoutTests:

Add more exception tests for fill/stroke/clip.

* fast/canvas/canvas-clip-path-expected.txt:
* fast/canvas/canvas-fill-path-expected.txt:
* fast/canvas/canvas-stroke-path-expected.txt:
* fast/canvas/script-tests/canvas-clip-path.js:
* fast/canvas/script-tests/canvas-fill-path.js:
* fast/canvas/script-tests/canvas-stroke-path.js:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsfastcanvascanvasclippathexpectedtxt">trunk/LayoutTests/fast/canvas/canvas-clip-path-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastcanvascanvasfillpathexpectedtxt">trunk/LayoutTests/fast/canvas/canvas-fill-path-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastcanvascanvasstrokepathexpectedtxt">trunk/LayoutTests/fast/canvas/canvas-stroke-path-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastcanvasscripttestscanvasclippathjs">trunk/LayoutTests/fast/canvas/script-tests/canvas-clip-path.js</a></li>
<li><a href="#trunkLayoutTestsfastcanvasscripttestscanvasfillpathjs">trunk/LayoutTests/fast/canvas/script-tests/canvas-fill-path.js</a></li>
<li><a href="#trunkLayoutTestsfastcanvasscripttestscanvasstrokepathjs">trunk/LayoutTests/fast/canvas/script-tests/canvas-stroke-path.js</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasCanvasRenderingContext2Didl">trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (165975 => 165976)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-03-20 18:22:54 UTC (rev 165975)
+++ trunk/LayoutTests/ChangeLog        2014-03-20 18:24:34 UTC (rev 165976)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2014-03-20  Dirk Schulze  &lt;krit@webkit.org&gt;
+
+        Canvas methods clip/fill/stroke should not except 0 argument
+        https://bugs.webkit.org/show_bug.cgi?id=130497
+
+        Reviewed by Dean Jackson.
+
+        Add more exception tests for fill/stroke/clip.
+
+        * fast/canvas/canvas-clip-path-expected.txt:
+        * fast/canvas/canvas-fill-path-expected.txt:
+        * fast/canvas/canvas-stroke-path-expected.txt:
+        * fast/canvas/script-tests/canvas-clip-path.js:
+        * fast/canvas/script-tests/canvas-fill-path.js:
+        * fast/canvas/script-tests/canvas-stroke-path.js:
+
</ins><span class="cx"> 2014-03-20  Carlos Alberto Lopez Perez  &lt;clopez@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed GTK Gardening.
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvascanvasclippathexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/canvas-clip-path-expected.txt (165975 => 165976)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/canvas-clip-path-expected.txt        2014-03-20 18:22:54 UTC (rev 165975)
+++ trunk/LayoutTests/fast/canvas/canvas-clip-path-expected.txt        2014-03-20 18:24:34 UTC (rev 165976)
</span><span class="lines">@@ -24,6 +24,22 @@
</span><span class="cx"> PASS areaColor(imageData.data, {r:0,g:255,b:0,a:255}) is true
</span><span class="cx"> PASS areaColor(imageData.data, {r:0,g:255,b:0,a:255}) is true
</span><span class="cx"> PASS areaColor(imageData.data, {r:0,g:0,b:0,a:0}) is true
</span><ins>+PASS ctx.clip(0) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.clip must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.clip(null) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.clip must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.clip('path2d') threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.clip must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.clip(undefined) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.clip must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.clip(Number.MAX_VALUE) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.clip must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.clip(function() {}) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.clip must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.clip(false) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.clip must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.clip(new Date()) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.clip must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.clip(0, 'nonzero') threw exception TypeError: Type error.
+PASS ctx.clip(null, 'nonzero') threw exception TypeError: Type error.
+PASS ctx.clip('path2d', 'nonzero') threw exception TypeError: Type error.
+PASS ctx.clip(undefined, 'nonzero') threw exception TypeError: Type error.
+PASS ctx.clip(Number.MAX_VALUE, 'nonzero') threw exception TypeError: Type error.
+PASS ctx.clip(function() {}, 'nonzero') threw exception TypeError: Type error.
+PASS ctx.clip(false, 'nonzero') threw exception TypeError: Type error.
+PASS ctx.clip(new Date(), 'nonzero') threw exception TypeError: Type error.
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvascanvasfillpathexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/canvas-fill-path-expected.txt (165975 => 165976)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/canvas-fill-path-expected.txt        2014-03-20 18:22:54 UTC (rev 165975)
+++ trunk/LayoutTests/fast/canvas/canvas-fill-path-expected.txt        2014-03-20 18:24:34 UTC (rev 165976)
</span><span class="lines">@@ -23,6 +23,22 @@
</span><span class="cx"> PASS areaColor(imageData.data, {r:0,g:255,b:0,a:255}) is true
</span><span class="cx"> PASS areaColor(imageData.data, {r:0,g:255,b:0,a:255}) is true
</span><span class="cx"> PASS areaColor(imageData.data, {r:0,g:0,b:0,a:0}) is true
</span><ins>+PASS ctx.fill(0) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.fill must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.fill(null) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.fill must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.fill('path2d') threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.fill must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.fill(undefined) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.fill must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.fill(Number.MAX_VALUE) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.fill must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.fill(function() {}) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.fill must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.fill(false) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.fill must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.fill(new Date()) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.fill must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.fill(0, 'nonzero') threw exception TypeError: Type error.
+PASS ctx.fill(null, 'nonzero') threw exception TypeError: Type error.
+PASS ctx.fill('path2d', 'nonzero') threw exception TypeError: Type error.
+PASS ctx.fill(undefined) threw exception TypeError: Argument 1 ('winding') to CanvasRenderingContext2D.fill must be one of: &quot;nonzero&quot;, &quot;evenodd&quot;.
+PASS ctx.fill(Number.MAX_VALUE, 'nonzero') threw exception TypeError: Type error.
+PASS ctx.fill(function() {}, 'nonzero') threw exception TypeError: Type error.
+PASS ctx.fill(false, 'nonzero') threw exception TypeError: Type error.
+PASS ctx.fill(new Date(), 'nonzero') threw exception TypeError: Type error.
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvascanvasstrokepathexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/canvas-stroke-path-expected.txt (165975 => 165976)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/canvas-stroke-path-expected.txt        2014-03-20 18:22:54 UTC (rev 165975)
+++ trunk/LayoutTests/fast/canvas/canvas-stroke-path-expected.txt        2014-03-20 18:24:34 UTC (rev 165976)
</span><span class="lines">@@ -17,6 +17,14 @@
</span><span class="cx"> PASS areaColor(imageData.data, {r:0,g:255,b:0,a:255}) is true
</span><span class="cx"> PASS areaColor(imageData.data, {r:0,g:255,b:0,a:255}) is true
</span><span class="cx"> 
</span><ins>+PASS ctx.stroke(0) threw exception TypeError: Type error.
+PASS ctx.stroke(null) threw exception TypeError: Type error.
+PASS ctx.stroke('path2d') threw exception TypeError: Type error.
+PASS ctx.stroke(undefined) threw exception TypeError: Type error.
+PASS ctx.stroke(Number.MAX_VALUE) threw exception TypeError: Type error.
+PASS ctx.stroke(function() {}) threw exception TypeError: Type error.
+PASS ctx.stroke(false) threw exception TypeError: Type error.
+PASS ctx.stroke(new Date()) threw exception TypeError: Type error.
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvasscripttestscanvasclippathjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/script-tests/canvas-clip-path.js (165975 => 165976)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/script-tests/canvas-clip-path.js        2014-03-20 18:22:54 UTC (rev 165975)
+++ trunk/LayoutTests/fast/canvas/script-tests/canvas-clip-path.js        2014-03-20 18:24:34 UTC (rev 165976)
</span><span class="lines">@@ -107,4 +107,21 @@
</span><span class="cx"> imageData = ctx.getImageData(80, 20, 20, 60);
</span><span class="cx"> shouldBe('areaColor(imageData.data, {r:0,g:255,b:0,a:255})', 'true');
</span><span class="cx"> imageData = ctx.getImageData(20, 20, 60, 60);
</span><del>-shouldBe('areaColor(imageData.data, {r:0,g:0,b:0,a:0})', 'true');
</del><span class="cx">\ No newline at end of file
</span><ins>+shouldBe('areaColor(imageData.data, {r:0,g:0,b:0,a:0})', 'true');
+
+shouldThrow(&quot;ctx.clip(0)&quot;);
+shouldThrow(&quot;ctx.clip(null)&quot;);
+shouldThrow(&quot;ctx.clip('path2d')&quot;);
+shouldThrow(&quot;ctx.clip(undefined)&quot;);
+shouldThrow(&quot;ctx.clip(Number.MAX_VALUE)&quot;);
+shouldThrow(&quot;ctx.clip(function() {})&quot;);
+shouldThrow(&quot;ctx.clip(false)&quot;);
+shouldThrow(&quot;ctx.clip(new Date())&quot;);
+shouldThrow(&quot;ctx.clip(0, 'nonzero')&quot;);
+shouldThrow(&quot;ctx.clip(null, 'nonzero')&quot;);
+shouldThrow(&quot;ctx.clip('path2d', 'nonzero')&quot;);
+shouldThrow(&quot;ctx.clip(undefined, 'nonzero')&quot;);
+shouldThrow(&quot;ctx.clip(Number.MAX_VALUE, 'nonzero')&quot;);
+shouldThrow(&quot;ctx.clip(function() {}, 'nonzero')&quot;);
+shouldThrow(&quot;ctx.clip(false, 'nonzero')&quot;);
+shouldThrow(&quot;ctx.clip(new Date(), 'nonzero')&quot;);
</ins></span></pre></div>
<a id="trunkLayoutTestsfastcanvasscripttestscanvasfillpathjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/script-tests/canvas-fill-path.js (165975 => 165976)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/script-tests/canvas-fill-path.js        2014-03-20 18:22:54 UTC (rev 165975)
+++ trunk/LayoutTests/fast/canvas/script-tests/canvas-fill-path.js        2014-03-20 18:24:34 UTC (rev 165976)
</span><span class="lines">@@ -89,4 +89,21 @@
</span><span class="cx"> imageData = ctx.getImageData(80, 20, 20, 60);
</span><span class="cx"> shouldBe('areaColor(imageData.data, {r:0,g:255,b:0,a:255})', 'true');
</span><span class="cx"> imageData = ctx.getImageData(20, 20, 60, 60);
</span><del>-shouldBe('areaColor(imageData.data, {r:0,g:0,b:0,a:0})', 'true');
</del><span class="cx">\ No newline at end of file
</span><ins>+shouldBe('areaColor(imageData.data, {r:0,g:0,b:0,a:0})', 'true');
+
+shouldThrow(&quot;ctx.fill(0)&quot;);
+shouldThrow(&quot;ctx.fill(null)&quot;);
+shouldThrow(&quot;ctx.fill('path2d')&quot;);
+shouldThrow(&quot;ctx.fill(undefined)&quot;);
+shouldThrow(&quot;ctx.fill(Number.MAX_VALUE)&quot;);
+shouldThrow(&quot;ctx.fill(function() {})&quot;);
+shouldThrow(&quot;ctx.fill(false)&quot;);
+shouldThrow(&quot;ctx.fill(new Date())&quot;);
+shouldThrow(&quot;ctx.fill(0, 'nonzero')&quot;);
+shouldThrow(&quot;ctx.fill(null, 'nonzero')&quot;);
+shouldThrow(&quot;ctx.fill('path2d', 'nonzero')&quot;);
+shouldThrow(&quot;ctx.fill(undefined)&quot;);
+shouldThrow(&quot;ctx.fill(Number.MAX_VALUE, 'nonzero')&quot;);
+shouldThrow(&quot;ctx.fill(function() {}, 'nonzero')&quot;);
+shouldThrow(&quot;ctx.fill(false, 'nonzero')&quot;);
+shouldThrow(&quot;ctx.fill(new Date(), 'nonzero')&quot;);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvasscripttestscanvasstrokepathjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/script-tests/canvas-stroke-path.js (165975 => 165976)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/script-tests/canvas-stroke-path.js        2014-03-20 18:22:54 UTC (rev 165975)
+++ trunk/LayoutTests/fast/canvas/script-tests/canvas-stroke-path.js        2014-03-20 18:24:34 UTC (rev 165976)
</span><span class="lines">@@ -64,4 +64,13 @@
</span><span class="cx"> shouldBe('areaColor(imageData.data, {r:0,g:255,b:0,a:255})', 'true');
</span><span class="cx"> imageData = ctx.getImageData(140, 140, 20, 10);
</span><span class="cx"> shouldBe('areaColor(imageData.data, {r:0,g:255,b:0,a:255})', 'true');
</span><del>-debug('');
</del><span class="cx">\ No newline at end of file
</span><ins>+debug('');
+
+shouldThrow(&quot;ctx.stroke(0)&quot;);
+shouldThrow(&quot;ctx.stroke(null)&quot;);
+shouldThrow(&quot;ctx.stroke('path2d')&quot;);
+shouldThrow(&quot;ctx.stroke(undefined)&quot;);
+shouldThrow(&quot;ctx.stroke(Number.MAX_VALUE)&quot;);
+shouldThrow(&quot;ctx.stroke(function() {})&quot;);
+shouldThrow(&quot;ctx.stroke(false)&quot;);
+shouldThrow(&quot;ctx.stroke(new Date())&quot;);
</ins></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (165975 => 165976)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-03-20 18:22:54 UTC (rev 165975)
+++ trunk/Source/WebCore/ChangeLog        2014-03-20 18:24:34 UTC (rev 165976)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2014-03-20  Dirk Schulze  &lt;krit@webkit.org&gt;
+
+        Canvas methods clip/fill/stroke should not except 0 argument
+        https://bugs.webkit.org/show_bug.cgi?id=130497
+
+        Reviewed by Dean Jackson.
+
+        Do not allow nullable argument for fill/stroke/clip.
+
+        No new tests. Updated existing tests.
+
+        * html/canvas/CanvasRenderingContext2D.idl:
+
</ins><span class="cx"> 2014-03-20  Eric Carlson  &lt;eric.carlson@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [iOS] Support MediaDocument when building with PLUGIN_PROXY_FOR_VIDEO
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasCanvasRenderingContext2Didl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.idl (165975 => 165976)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.idl        2014-03-20 18:22:54 UTC (rev 165975)
+++ trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.idl        2014-03-20 18:24:34 UTC (rev 165976)
</span><span class="lines">@@ -75,9 +75,9 @@
</span><span class="cx">     [RaisesException] void arc(float x, float y, float radius, float startAngle, float endAngle, [Default=Undefined] optional boolean anticlockwise);
</span><span class="cx"> 
</span><span class="cx"> #if defined(ENABLE_CANVAS_PATH) &amp;&amp; ENABLE_CANVAS_PATH
</span><del>-    void fill(DOMPath? path, optional CanvasWindingRule winding);
-    void stroke(DOMPath? path);
-    void clip(DOMPath? path, optional CanvasWindingRule winding);
</del><ins>+    void fill(DOMPath path, optional CanvasWindingRule winding);
+    void stroke(DOMPath path);
+    void clip(DOMPath path, optional CanvasWindingRule winding);
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     void fill(optional CanvasWindingRule winding);
</span></span></pre>
</div>
</div>

</body>
</html>