<!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>[194219] trunk/Source/WebCore</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/194219">194219</a></dd>
<dt>Author</dt> <dd>ossy@webkit.org</dd>
<dt>Date</dt> <dd>2015-12-17 09:58:11 -0800 (Thu, 17 Dec 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Fix unused parameter handling in WebGLRenderingContextBase.cp
https://bugs.webkit.org/show_bug.cgi?id=152387

Reviewed by Alex Christensen.

* html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::WebGLRenderingContextBase::activeTexture):
(WebCore::WebGLRenderingContextBase::attachShader):
(WebCore::WebGLRenderingContextBase::bindAttribLocation):
(WebCore::WebGLRenderingContextBase::bindBuffer):
(WebCore::WebGLRenderingContextBase::bindFramebuffer):
(WebCore::WebGLRenderingContextBase::bindRenderbuffer):
(WebCore::WebGLRenderingContextBase::bindTexture):
(WebCore::WebGLRenderingContextBase::bufferData):
(WebCore::WebGLRenderingContextBase::bufferSubData):
(WebCore::WebGLRenderingContextBase::compileShader):
(WebCore::WebGLRenderingContextBase::createShader):
(WebCore::WebGLRenderingContextBase::detachShader):
(WebCore::WebGLRenderingContextBase::disableVertexAttribArray):
(WebCore::WebGLRenderingContextBase::drawArrays):
(WebCore::WebGLRenderingContextBase::drawElements):
(WebCore::WebGLRenderingContextBase::enableVertexAttribArray):
(WebCore::WebGLRenderingContextBase::framebufferRenderbuffer):
(WebCore::WebGLRenderingContextBase::framebufferTexture2D):
(WebCore::WebGLRenderingContextBase::getActiveAttrib):
(WebCore::WebGLRenderingContextBase::getActiveUniform):
(WebCore::WebGLRenderingContextBase::getAttachedShaders):
(WebCore::WebGLRenderingContextBase::getBufferParameter):
(WebCore::WebGLRenderingContextBase::getProgramParameter):
(WebCore::WebGLRenderingContextBase::getProgramInfoLog):
(WebCore::WebGLRenderingContextBase::getRenderbufferParameter):
(WebCore::WebGLRenderingContextBase::getShaderParameter):
(WebCore::WebGLRenderingContextBase::getShaderInfoLog):
(WebCore::WebGLRenderingContextBase::getShaderPrecisionFormat):
(WebCore::WebGLRenderingContextBase::getShaderSource):
(WebCore::WebGLRenderingContextBase::getTexParameter):
(WebCore::WebGLRenderingContextBase::getUniform):
(WebCore::WebGLRenderingContextBase::getUniformLocation):
(WebCore::WebGLRenderingContextBase::getVertexAttrib):
(WebCore::WebGLRenderingContextBase::linkProgram):
(WebCore::WebGLRenderingContextBase::shaderSource):
(WebCore::WebGLRenderingContextBase::uniform1f):
(WebCore::WebGLRenderingContextBase::uniform1fv):
(WebCore::WebGLRenderingContextBase::uniform1i):
(WebCore::WebGLRenderingContextBase::uniform1iv):
(WebCore::WebGLRenderingContextBase::uniform2f):
(WebCore::WebGLRenderingContextBase::uniform2fv):
(WebCore::WebGLRenderingContextBase::uniform2i):
(WebCore::WebGLRenderingContextBase::uniform2iv):
(WebCore::WebGLRenderingContextBase::uniform3f):
(WebCore::WebGLRenderingContextBase::uniform3fv):
(WebCore::WebGLRenderingContextBase::uniform3i):
(WebCore::WebGLRenderingContextBase::uniform3iv):
(WebCore::WebGLRenderingContextBase::uniform4f):
(WebCore::WebGLRenderingContextBase::uniform4fv):
(WebCore::WebGLRenderingContextBase::uniform4i):
(WebCore::WebGLRenderingContextBase::uniform4iv):
(WebCore::WebGLRenderingContextBase::uniformMatrix2fv):
(WebCore::WebGLRenderingContextBase::uniformMatrix3fv):
(WebCore::WebGLRenderingContextBase::uniformMatrix4fv):
(WebCore::WebGLRenderingContextBase::useProgram):
(WebCore::WebGLRenderingContextBase::validateProgram):
(WebCore::WebGLRenderingContextBase::vertexAttribPointer):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLRenderingContextBasecpp">trunk/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (194218 => 194219)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-12-17 13:25:08 UTC (rev 194218)
+++ trunk/Source/WebCore/ChangeLog        2015-12-17 17:58:11 UTC (rev 194219)
</span><span class="lines">@@ -1,3 +1,69 @@
</span><ins>+2015-12-17  Csaba Osztrogonác  &lt;ossy@webkit.org&gt;
+
+        Fix unused parameter handling in WebGLRenderingContextBase.cp
+        https://bugs.webkit.org/show_bug.cgi?id=152387
+
+        Reviewed by Alex Christensen.
+
+        * html/canvas/WebGLRenderingContextBase.cpp:
+        (WebCore::WebGLRenderingContextBase::activeTexture):
+        (WebCore::WebGLRenderingContextBase::attachShader):
+        (WebCore::WebGLRenderingContextBase::bindAttribLocation):
+        (WebCore::WebGLRenderingContextBase::bindBuffer):
+        (WebCore::WebGLRenderingContextBase::bindFramebuffer):
+        (WebCore::WebGLRenderingContextBase::bindRenderbuffer):
+        (WebCore::WebGLRenderingContextBase::bindTexture):
+        (WebCore::WebGLRenderingContextBase::bufferData):
+        (WebCore::WebGLRenderingContextBase::bufferSubData):
+        (WebCore::WebGLRenderingContextBase::compileShader):
+        (WebCore::WebGLRenderingContextBase::createShader):
+        (WebCore::WebGLRenderingContextBase::detachShader):
+        (WebCore::WebGLRenderingContextBase::disableVertexAttribArray):
+        (WebCore::WebGLRenderingContextBase::drawArrays):
+        (WebCore::WebGLRenderingContextBase::drawElements):
+        (WebCore::WebGLRenderingContextBase::enableVertexAttribArray):
+        (WebCore::WebGLRenderingContextBase::framebufferRenderbuffer):
+        (WebCore::WebGLRenderingContextBase::framebufferTexture2D):
+        (WebCore::WebGLRenderingContextBase::getActiveAttrib):
+        (WebCore::WebGLRenderingContextBase::getActiveUniform):
+        (WebCore::WebGLRenderingContextBase::getAttachedShaders):
+        (WebCore::WebGLRenderingContextBase::getBufferParameter):
+        (WebCore::WebGLRenderingContextBase::getProgramParameter):
+        (WebCore::WebGLRenderingContextBase::getProgramInfoLog):
+        (WebCore::WebGLRenderingContextBase::getRenderbufferParameter):
+        (WebCore::WebGLRenderingContextBase::getShaderParameter):
+        (WebCore::WebGLRenderingContextBase::getShaderInfoLog):
+        (WebCore::WebGLRenderingContextBase::getShaderPrecisionFormat):
+        (WebCore::WebGLRenderingContextBase::getShaderSource):
+        (WebCore::WebGLRenderingContextBase::getTexParameter):
+        (WebCore::WebGLRenderingContextBase::getUniform):
+        (WebCore::WebGLRenderingContextBase::getUniformLocation):
+        (WebCore::WebGLRenderingContextBase::getVertexAttrib):
+        (WebCore::WebGLRenderingContextBase::linkProgram):
+        (WebCore::WebGLRenderingContextBase::shaderSource):
+        (WebCore::WebGLRenderingContextBase::uniform1f):
+        (WebCore::WebGLRenderingContextBase::uniform1fv):
+        (WebCore::WebGLRenderingContextBase::uniform1i):
+        (WebCore::WebGLRenderingContextBase::uniform1iv):
+        (WebCore::WebGLRenderingContextBase::uniform2f):
+        (WebCore::WebGLRenderingContextBase::uniform2fv):
+        (WebCore::WebGLRenderingContextBase::uniform2i):
+        (WebCore::WebGLRenderingContextBase::uniform2iv):
+        (WebCore::WebGLRenderingContextBase::uniform3f):
+        (WebCore::WebGLRenderingContextBase::uniform3fv):
+        (WebCore::WebGLRenderingContextBase::uniform3i):
+        (WebCore::WebGLRenderingContextBase::uniform3iv):
+        (WebCore::WebGLRenderingContextBase::uniform4f):
+        (WebCore::WebGLRenderingContextBase::uniform4fv):
+        (WebCore::WebGLRenderingContextBase::uniform4i):
+        (WebCore::WebGLRenderingContextBase::uniform4iv):
+        (WebCore::WebGLRenderingContextBase::uniformMatrix2fv):
+        (WebCore::WebGLRenderingContextBase::uniformMatrix3fv):
+        (WebCore::WebGLRenderingContextBase::uniformMatrix4fv):
+        (WebCore::WebGLRenderingContextBase::useProgram):
+        (WebCore::WebGLRenderingContextBase::validateProgram):
+        (WebCore::WebGLRenderingContextBase::vertexAttribPointer):
+
</ins><span class="cx"> 2015-12-16  Alex Christensen  &lt;achristensen@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Make SessionID use intHash
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLRenderingContextBasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp (194218 => 194219)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp        2015-12-17 13:25:08 UTC (rev 194218)
+++ trunk/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp        2015-12-17 17:58:11 UTC (rev 194219)
</span><span class="lines">@@ -820,9 +820,8 @@
</span><span class="cx">     return 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::activeTexture(GC3Denum texture, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::activeTexture(GC3Denum texture, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return;
</span><span class="cx">     if (texture - GraphicsContext3D::TEXTURE0 &gt;= m_textureUnits.size()) {
</span><span class="lines">@@ -833,9 +832,8 @@
</span><span class="cx">     m_context-&gt;activeTexture(texture);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::attachShader(WebGLProgram* program, WebGLShader* shader, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::attachShader(WebGLProgram* program, WebGLShader* shader, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;attachShader&quot;, program) || !validateWebGLObject(&quot;attachShader&quot;, shader))
</span><span class="cx">         return;
</span><span class="cx">     if (!program-&gt;attachShader(shader)) {
</span><span class="lines">@@ -846,9 +844,8 @@
</span><span class="cx">     shader-&gt;onAttached();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::bindAttribLocation(WebGLProgram* program, GC3Duint index, const String&amp; name, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::bindAttribLocation(WebGLProgram* program, GC3Duint index, const String&amp; name, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;bindAttribLocation&quot;, program))
</span><span class="cx">         return;
</span><span class="cx">     if (!validateLocationLength(&quot;bindAttribLocation&quot;, name))
</span><span class="lines">@@ -881,9 +878,8 @@
</span><span class="cx">     return true;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::bindBuffer(GC3Denum target, WebGLBuffer* buffer, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::bindBuffer(GC3Denum target, WebGLBuffer* buffer, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     bool deleted;
</span><span class="cx">     if (!checkObjectToBeBound(&quot;bindBuffer&quot;, buffer, deleted))
</span><span class="cx">         return;
</span><span class="lines">@@ -907,9 +903,8 @@
</span><span class="cx">         buffer-&gt;setTarget(target);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::bindFramebuffer(GC3Denum target, WebGLFramebuffer* buffer, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::bindFramebuffer(GC3Denum target, WebGLFramebuffer* buffer, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     bool deleted;
</span><span class="cx">     if (!checkObjectToBeBound(&quot;bindFramebuffer&quot;, buffer, deleted))
</span><span class="cx">         return;
</span><span class="lines">@@ -926,9 +921,8 @@
</span><span class="cx">     applyStencilTest();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::bindRenderbuffer(GC3Denum target, WebGLRenderbuffer* renderBuffer, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::bindRenderbuffer(GC3Denum target, WebGLRenderbuffer* renderBuffer, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     bool deleted;
</span><span class="cx">     if (!checkObjectToBeBound(&quot;bindRenderbuffer&quot;, renderBuffer, deleted))
</span><span class="cx">         return;
</span><span class="lines">@@ -944,9 +938,8 @@
</span><span class="cx">         renderBuffer-&gt;setHasEverBeenBound();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::bindTexture(GC3Denum target, WebGLTexture* texture, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::bindTexture(GC3Denum target, WebGLTexture* texture, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     bool deleted;
</span><span class="cx">     if (!checkObjectToBeBound(&quot;bindTexture&quot;, texture, deleted))
</span><span class="cx">         return;
</span><span class="lines">@@ -1018,9 +1011,8 @@
</span><span class="cx">     m_context-&gt;blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::bufferData(GC3Denum target, long long size, GC3Denum usage, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::bufferData(GC3Denum target, long long size, GC3Denum usage, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return;
</span><span class="cx">     WebGLBuffer* buffer = validateBufferDataParameters(&quot;bufferData&quot;, target, usage);
</span><span class="lines">@@ -1049,9 +1041,8 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::bufferData(GC3Denum target, ArrayBuffer* data, GC3Denum usage, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::bufferData(GC3Denum target, ArrayBuffer* data, GC3Denum usage, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return;
</span><span class="cx">     WebGLBuffer* buffer = validateBufferDataParameters(&quot;bufferData&quot;, target, usage);
</span><span class="lines">@@ -1076,9 +1067,8 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::bufferData(GC3Denum target, ArrayBufferView* data, GC3Denum usage, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::bufferData(GC3Denum target, ArrayBufferView* data, GC3Denum usage, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return;
</span><span class="cx">     WebGLBuffer* buffer = validateBufferDataParameters(&quot;bufferData&quot;, target, usage);
</span><span class="lines">@@ -1103,9 +1093,8 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::bufferSubData(GC3Denum target, long long offset, ArrayBuffer* data, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::bufferSubData(GC3Denum target, long long offset, ArrayBuffer* data, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return;
</span><span class="cx">     WebGLBuffer* buffer = validateBufferDataParameters(&quot;bufferSubData&quot;, target, GraphicsContext3D::STATIC_DRAW);
</span><span class="lines">@@ -1132,9 +1121,8 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::bufferSubData(GC3Denum target, long long offset, ArrayBufferView* data, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::bufferSubData(GC3Denum target, long long offset, ArrayBufferView* data, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return;
</span><span class="cx">     WebGLBuffer* buffer = validateBufferDataParameters(&quot;bufferSubData&quot;, target, GraphicsContext3D::STATIC_DRAW);
</span><span class="lines">@@ -1227,9 +1215,8 @@
</span><span class="cx">     m_context-&gt;colorMask(red, green, blue, alpha);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::compileShader(WebGLShader* shader, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::compileShader(WebGLShader* shader, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;compileShader&quot;, shader))
</span><span class="cx">         return;
</span><span class="cx">     m_context-&gt;compileShader(objectOrZero(shader));
</span><span class="lines">@@ -1431,9 +1418,8 @@
</span><span class="cx">     return o;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLShader&gt; WebGLRenderingContextBase::createShader(GC3Denum type, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;WebGLShader&gt; WebGLRenderingContextBase::createShader(GC3Denum type, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return nullptr;
</span><span class="cx">     if (type != GraphicsContext3D::VERTEX_SHADER &amp;&amp; type != GraphicsContext3D::FRAGMENT_SHADER) {
</span><span class="lines">@@ -1550,9 +1536,8 @@
</span><span class="cx">     m_context-&gt;depthRange(zNear, zFar);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::detachShader(WebGLProgram* program, WebGLShader* shader, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::detachShader(WebGLProgram* program, WebGLShader* shader, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;detachShader&quot;, program) || !validateWebGLObject(&quot;detachShader&quot;, shader))
</span><span class="cx">         return;
</span><span class="cx">     if (!program-&gt;detachShader(shader)) {
</span><span class="lines">@@ -1577,9 +1562,8 @@
</span><span class="cx">     m_context-&gt;disable(cap);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::disableVertexAttribArray(GC3Duint index, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::disableVertexAttribArray(GC3Duint index, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return;
</span><span class="cx">     if (index &gt;= m_maxVertexAttribs) {
</span><span class="lines">@@ -1891,10 +1875,8 @@
</span><span class="cx">     return true;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::drawArrays(GC3Denum mode, GC3Dint first, GC3Dsizei count, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::drawArrays(GC3Denum mode, GC3Dint first, GC3Dsizei count, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
-
</del><span class="cx">     if (!validateDrawArrays(&quot;drawArrays&quot;, mode, first, count, 0))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -1915,10 +1897,8 @@
</span><span class="cx">     markContextChanged();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::drawElements(GC3Denum mode, GC3Dsizei count, GC3Denum type, long long offset, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::drawElements(GC3Denum mode, GC3Dsizei count, GC3Denum type, long long offset, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
-
</del><span class="cx">     unsigned numElements = 0;
</span><span class="cx">     if (!validateDrawElements(&quot;drawElements&quot;, mode, count, type, offset, numElements, 0))
</span><span class="cx">         return;
</span><span class="lines">@@ -1957,9 +1937,8 @@
</span><span class="cx">     m_context-&gt;enable(cap);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::enableVertexAttribArray(GC3Duint index, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::enableVertexAttribArray(GC3Duint index, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return;
</span><span class="cx">     if (index &gt;= m_maxVertexAttribs) {
</span><span class="lines">@@ -1987,9 +1966,8 @@
</span><span class="cx">     m_context-&gt;flush();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::framebufferRenderbuffer(GC3Denum target, GC3Denum attachment, GC3Denum renderbuffertarget, WebGLRenderbuffer* buffer, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::framebufferRenderbuffer(GC3Denum target, GC3Denum attachment, GC3Denum renderbuffertarget, WebGLRenderbuffer* buffer, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateFramebufferFuncParameters(&quot;framebufferRenderbuffer&quot;, target, attachment))
</span><span class="cx">         return;
</span><span class="cx">     if (renderbuffertarget != GraphicsContext3D::RENDERBUFFER) {
</span><span class="lines">@@ -2020,9 +1998,8 @@
</span><span class="cx">     applyStencilTest();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::framebufferTexture2D(GC3Denum target, GC3Denum attachment, GC3Denum textarget, WebGLTexture* texture, GC3Dint level, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::framebufferTexture2D(GC3Denum target, GC3Denum attachment, GC3Denum textarget, WebGLTexture* texture, GC3Dint level, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateFramebufferFuncParameters(&quot;framebufferTexture2D&quot;, target, attachment))
</span><span class="cx">         return;
</span><span class="cx">     if (level) {
</span><span class="lines">@@ -2102,9 +2079,8 @@
</span><span class="cx">     tex-&gt;generateMipmapLevelInfo();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLActiveInfo&gt; WebGLRenderingContextBase::getActiveAttrib(WebGLProgram* program, GC3Duint index, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;WebGLActiveInfo&gt; WebGLRenderingContextBase::getActiveAttrib(WebGLProgram* program, GC3Duint index, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;getActiveAttrib&quot;, program))
</span><span class="cx">         return nullptr;
</span><span class="cx">     ActiveInfo info;
</span><span class="lines">@@ -2116,9 +2092,8 @@
</span><span class="cx">     return WebGLActiveInfo::create(info.name, info.type, info.size);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLActiveInfo&gt; WebGLRenderingContextBase::getActiveUniform(WebGLProgram* program, GC3Duint index, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;WebGLActiveInfo&gt; WebGLRenderingContextBase::getActiveUniform(WebGLProgram* program, GC3Duint index, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;getActiveUniform&quot;, program))
</span><span class="cx">         return 0;
</span><span class="cx">     ActiveInfo info;
</span><span class="lines">@@ -2133,9 +2108,8 @@
</span><span class="cx">     return WebGLActiveInfo::create(info.name, info.type, info.size);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool WebGLRenderingContextBase::getAttachedShaders(WebGLProgram* program, Vector&lt;RefPtr&lt;WebGLShader&gt;&gt;&amp; shaderObjects, ExceptionCode&amp; ec)
</del><ins>+bool WebGLRenderingContextBase::getAttachedShaders(WebGLProgram* program, Vector&lt;RefPtr&lt;WebGLShader&gt;&gt;&amp; shaderObjects, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     shaderObjects.clear();
</span><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;getAttachedShaders&quot;, program))
</span><span class="cx">         return false;
</span><span class="lines">@@ -2169,9 +2143,8 @@
</span><span class="cx">     return m_context-&gt;getAttribLocation(objectOrZero(program), name);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebGLGetInfo WebGLRenderingContextBase::getBufferParameter(GC3Denum target, GC3Denum pname, ExceptionCode&amp; ec)
</del><ins>+WebGLGetInfo WebGLRenderingContextBase::getBufferParameter(GC3Denum target, GC3Denum pname, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return WebGLGetInfo();
</span><span class="cx">     if (target != GraphicsContext3D::ARRAY_BUFFER &amp;&amp; target != GraphicsContext3D::ELEMENT_ARRAY_BUFFER) {
</span><span class="lines">@@ -2216,9 +2189,8 @@
</span><span class="cx">     return m_context-&gt;getError();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebGLGetInfo WebGLRenderingContextBase::getProgramParameter(WebGLProgram* program, GC3Denum pname, ExceptionCode&amp; ec)
</del><ins>+WebGLGetInfo WebGLRenderingContextBase::getProgramParameter(WebGLProgram* program, GC3Denum pname, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;getProgramParameter&quot;, program))
</span><span class="cx">         return WebGLGetInfo();
</span><span class="cx"> 
</span><span class="lines">@@ -2244,17 +2216,15 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-String WebGLRenderingContextBase::getProgramInfoLog(WebGLProgram* program, ExceptionCode&amp; ec)
</del><ins>+String WebGLRenderingContextBase::getProgramInfoLog(WebGLProgram* program, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;getProgramInfoLog&quot;, program))
</span><span class="cx">         return String();
</span><span class="cx">     return ensureNotNull(m_context-&gt;getProgramInfoLog(objectOrZero(program)));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebGLGetInfo WebGLRenderingContextBase::getRenderbufferParameter(GC3Denum target, GC3Denum pname, ExceptionCode&amp; ec)
</del><ins>+WebGLGetInfo WebGLRenderingContextBase::getRenderbufferParameter(GC3Denum target, GC3Denum pname, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return WebGLGetInfo();
</span><span class="cx">     if (target != GraphicsContext3D::RENDERBUFFER) {
</span><span class="lines">@@ -2318,9 +2288,8 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebGLGetInfo WebGLRenderingContextBase::getShaderParameter(WebGLShader* shader, GC3Denum pname, ExceptionCode&amp; ec)
</del><ins>+WebGLGetInfo WebGLRenderingContextBase::getShaderParameter(WebGLShader* shader, GC3Denum pname, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;getShaderParameter&quot;, shader))
</span><span class="cx">         return WebGLGetInfo();
</span><span class="cx">     GC3Dint value = 0;
</span><span class="lines">@@ -2339,17 +2308,15 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-String WebGLRenderingContextBase::getShaderInfoLog(WebGLShader* shader, ExceptionCode&amp; ec)
</del><ins>+String WebGLRenderingContextBase::getShaderInfoLog(WebGLShader* shader, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;getShaderInfoLog&quot;, shader))
</span><span class="cx">         return String();
</span><span class="cx">     return ensureNotNull(m_context-&gt;getShaderInfoLog(objectOrZero(shader)));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLShaderPrecisionFormat&gt; WebGLRenderingContextBase::getShaderPrecisionFormat(GC3Denum shaderType, GC3Denum precisionType, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;WebGLShaderPrecisionFormat&gt; WebGLRenderingContextBase::getShaderPrecisionFormat(GC3Denum shaderType, GC3Denum precisionType, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return nullptr;
</span><span class="cx">     switch (shaderType) {
</span><span class="lines">@@ -2379,17 +2346,15 @@
</span><span class="cx">     return WebGLShaderPrecisionFormat::create(range[0], range[1], precision);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-String WebGLRenderingContextBase::getShaderSource(WebGLShader* shader, ExceptionCode&amp; ec)
</del><ins>+String WebGLRenderingContextBase::getShaderSource(WebGLShader* shader, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;getShaderSource&quot;, shader))
</span><span class="cx">         return String();
</span><span class="cx">     return ensureNotNull(shader-&gt;getSource());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebGLGetInfo WebGLRenderingContextBase::getTexParameter(GC3Denum target, GC3Denum pname, ExceptionCode&amp; ec)
</del><ins>+WebGLGetInfo WebGLRenderingContextBase::getTexParameter(GC3Denum target, GC3Denum pname, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return WebGLGetInfo();
</span><span class="cx">     WebGLTexture* tex = validateTextureBinding(&quot;getTexParameter&quot;, target, false);
</span><span class="lines">@@ -2416,9 +2381,8 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebGLGetInfo WebGLRenderingContextBase::getUniform(WebGLProgram* program, const WebGLUniformLocation* uniformLocation, ExceptionCode&amp; ec)
</del><ins>+WebGLGetInfo WebGLRenderingContextBase::getUniform(WebGLProgram* program, const WebGLUniformLocation* uniformLocation, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;getUniform&quot;, program))
</span><span class="cx">         return WebGLGetInfo();
</span><span class="cx">     if (!uniformLocation || uniformLocation-&gt;program() != program) {
</span><span class="lines">@@ -2544,9 +2508,8 @@
</span><span class="cx">     return WebGLGetInfo();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLUniformLocation&gt; WebGLRenderingContextBase::getUniformLocation(WebGLProgram* program, const String&amp; name, ExceptionCode&amp; ec)
</del><ins>+PassRefPtr&lt;WebGLUniformLocation&gt; WebGLRenderingContextBase::getUniformLocation(WebGLProgram* program, const String&amp; name, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;getUniformLocation&quot;, program))
</span><span class="cx">         return nullptr;
</span><span class="cx">     if (!validateLocationLength(&quot;getUniformLocation&quot;, name))
</span><span class="lines">@@ -2583,10 +2546,8 @@
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebGLGetInfo WebGLRenderingContextBase::getVertexAttrib(GC3Duint index, GC3Denum pname, ExceptionCode&amp; ec)
</del><ins>+WebGLGetInfo WebGLRenderingContextBase::getVertexAttrib(GC3Duint index, GC3Denum pname, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
-
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return WebGLGetInfo();
</span><span class="cx"> 
</span><span class="lines">@@ -2732,9 +2693,8 @@
</span><span class="cx">     m_context-&gt;lineWidth(width);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::linkProgram(WebGLProgram* program, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::linkProgram(WebGLProgram* program, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;linkProgram&quot;, program))
</span><span class="cx">         return;
</span><span class="cx">     WebGLShader* vertexShader = program-&gt;getAttachedShader(GraphicsContext3D::VERTEX_SHADER);
</span><span class="lines">@@ -2905,9 +2865,8 @@
</span><span class="cx">     m_context-&gt;scissor(x, y, width, height);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::shaderSource(WebGLShader* shader, const String&amp; string, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::shaderSource(WebGLShader* shader, const String&amp; string, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;shaderSource&quot;, shader))
</span><span class="cx">         return;
</span><span class="cx">     String stringWithoutComments = StripComments(string).result();
</span><span class="lines">@@ -3326,9 +3285,8 @@
</span><span class="cx">     texParameter(target, pname, 0, param, false);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform1f(const WebGLUniformLocation* location, GC3Dfloat x, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform1f(const WebGLUniformLocation* location, GC3Dfloat x, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !location)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -3340,27 +3298,24 @@
</span><span class="cx">     m_context-&gt;uniform1f(location-&gt;location(), x);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform1fv(const WebGLUniformLocation* location, Float32Array* v, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform1fv(const WebGLUniformLocation* location, Float32Array* v, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform1fv&quot;, location, v, 1))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform1fv(location-&gt;location(), v-&gt;length(), v-&gt;data());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform1fv(const WebGLUniformLocation* location, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform1fv(const WebGLUniformLocation* location, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform1fv&quot;, location, v, size, 1))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform1fv(location-&gt;location(), size, v);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform1i(const WebGLUniformLocation* location, GC3Dint x, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform1i(const WebGLUniformLocation* location, GC3Dint x, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !location)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -3377,9 +3332,8 @@
</span><span class="cx">     m_context-&gt;uniform1i(location-&gt;location(), x);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform1iv(const WebGLUniformLocation* location, Int32Array* v, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform1iv(const WebGLUniformLocation* location, Int32Array* v, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform1iv&quot;, location, v, 1))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -3395,9 +3349,8 @@
</span><span class="cx">     m_context-&gt;uniform1iv(location-&gt;location(), v-&gt;length(), v-&gt;data());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform1iv(const WebGLUniformLocation* location, GC3Dint* v, GC3Dsizei size, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform1iv(const WebGLUniformLocation* location, GC3Dint* v, GC3Dsizei size, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform1iv&quot;, location, v, size, 1))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -3412,9 +3365,8 @@
</span><span class="cx">     m_context-&gt;uniform1iv(location-&gt;location(), size, v);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform2f(const WebGLUniformLocation* location, GC3Dfloat x, GC3Dfloat y, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform2f(const WebGLUniformLocation* location, GC3Dfloat x, GC3Dfloat y, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !location)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -3426,27 +3378,24 @@
</span><span class="cx">     m_context-&gt;uniform2f(location-&gt;location(), x, y);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform2fv(const WebGLUniformLocation* location, Float32Array* v, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform2fv(const WebGLUniformLocation* location, Float32Array* v, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform2fv&quot;, location, v, 2))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform2fv(location-&gt;location(), v-&gt;length() / 2, v-&gt;data());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform2fv(const WebGLUniformLocation* location, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform2fv(const WebGLUniformLocation* location, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform2fv&quot;, location, v, size, 2))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform2fv(location-&gt;location(), size / 2, v);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform2i(const WebGLUniformLocation* location, GC3Dint x, GC3Dint y, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform2i(const WebGLUniformLocation* location, GC3Dint x, GC3Dint y, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !location)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -3458,27 +3407,24 @@
</span><span class="cx">     m_context-&gt;uniform2i(location-&gt;location(), x, y);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform2iv(const WebGLUniformLocation* location, Int32Array* v, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform2iv(const WebGLUniformLocation* location, Int32Array* v, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform2iv&quot;, location, v, 2))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform2iv(location-&gt;location(), v-&gt;length() / 2, v-&gt;data());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform2iv(const WebGLUniformLocation* location, GC3Dint* v, GC3Dsizei size, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform2iv(const WebGLUniformLocation* location, GC3Dint* v, GC3Dsizei size, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform2iv&quot;, location, v, size, 2))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform2iv(location-&gt;location(), size / 2, v);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform3f(const WebGLUniformLocation* location, GC3Dfloat x, GC3Dfloat y, GC3Dfloat z, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform3f(const WebGLUniformLocation* location, GC3Dfloat x, GC3Dfloat y, GC3Dfloat z, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !location)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -3490,27 +3436,24 @@
</span><span class="cx">     m_context-&gt;uniform3f(location-&gt;location(), x, y, z);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform3fv(const WebGLUniformLocation* location, Float32Array* v, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform3fv(const WebGLUniformLocation* location, Float32Array* v, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform3fv&quot;, location, v, 3))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform3fv(location-&gt;location(), v-&gt;length() / 3, v-&gt;data());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform3fv(const WebGLUniformLocation* location, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform3fv(const WebGLUniformLocation* location, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform3fv&quot;, location, v, size, 3))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform3fv(location-&gt;location(), size / 3, v);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform3i(const WebGLUniformLocation* location, GC3Dint x, GC3Dint y, GC3Dint z, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform3i(const WebGLUniformLocation* location, GC3Dint x, GC3Dint y, GC3Dint z, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !location)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -3522,27 +3465,24 @@
</span><span class="cx">     m_context-&gt;uniform3i(location-&gt;location(), x, y, z);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform3iv(const WebGLUniformLocation* location, Int32Array* v, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform3iv(const WebGLUniformLocation* location, Int32Array* v, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform3iv&quot;, location, v, 3))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform3iv(location-&gt;location(), v-&gt;length() / 3, v-&gt;data());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform3iv(const WebGLUniformLocation* location, GC3Dint* v, GC3Dsizei size, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform3iv(const WebGLUniformLocation* location, GC3Dint* v, GC3Dsizei size, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform3iv&quot;, location, v, size, 3))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform3iv(location-&gt;location(), size / 3, v);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform4f(const WebGLUniformLocation* location, GC3Dfloat x, GC3Dfloat y, GC3Dfloat z, GC3Dfloat w, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform4f(const WebGLUniformLocation* location, GC3Dfloat x, GC3Dfloat y, GC3Dfloat z, GC3Dfloat w, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !location)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -3554,27 +3494,24 @@
</span><span class="cx">     m_context-&gt;uniform4f(location-&gt;location(), x, y, z, w);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform4fv(const WebGLUniformLocation* location, Float32Array* v, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform4fv(const WebGLUniformLocation* location, Float32Array* v, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform4fv&quot;, location, v, 4))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform4fv(location-&gt;location(), v-&gt;length() / 4, v-&gt;data());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform4fv(const WebGLUniformLocation* location, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform4fv(const WebGLUniformLocation* location, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform4fv&quot;, location, v, size, 4))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform4fv(location-&gt;location(), size / 4, v);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform4i(const WebGLUniformLocation* location, GC3Dint x, GC3Dint y, GC3Dint z, GC3Dint w, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform4i(const WebGLUniformLocation* location, GC3Dint x, GC3Dint y, GC3Dint z, GC3Dint w, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !location)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -3586,75 +3523,66 @@
</span><span class="cx">     m_context-&gt;uniform4i(location-&gt;location(), x, y, z, w);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform4iv(const WebGLUniformLocation* location, Int32Array* v, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform4iv(const WebGLUniformLocation* location, Int32Array* v, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform4iv&quot;, location, v, 4))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform4iv(location-&gt;location(), v-&gt;length() / 4, v-&gt;data());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniform4iv(const WebGLUniformLocation* location, GC3Dint* v, GC3Dsizei size, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniform4iv(const WebGLUniformLocation* location, GC3Dint* v, GC3Dsizei size, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformParameters(&quot;uniform4iv&quot;, location, v, size, 4))
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_context-&gt;uniform4iv(location-&gt;location(), size / 4, v);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniformMatrix2fv(const WebGLUniformLocation* location, GC3Dboolean transpose, Float32Array* v, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniformMatrix2fv(const WebGLUniformLocation* location, GC3Dboolean transpose, Float32Array* v, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformMatrixParameters(&quot;uniformMatrix2fv&quot;, location, transpose, v, 4))
</span><span class="cx">         return;
</span><span class="cx">     m_context-&gt;uniformMatrix2fv(location-&gt;location(), v-&gt;length() / 4, transpose, v-&gt;data());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniformMatrix2fv(const WebGLUniformLocation* location, GC3Dboolean transpose, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniformMatrix2fv(const WebGLUniformLocation* location, GC3Dboolean transpose, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformMatrixParameters(&quot;uniformMatrix2fv&quot;, location, transpose, v, size, 4))
</span><span class="cx">         return;
</span><span class="cx">     m_context-&gt;uniformMatrix2fv(location-&gt;location(), size / 4, transpose, v);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniformMatrix3fv(const WebGLUniformLocation* location, GC3Dboolean transpose, Float32Array* v, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniformMatrix3fv(const WebGLUniformLocation* location, GC3Dboolean transpose, Float32Array* v, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformMatrixParameters(&quot;uniformMatrix3fv&quot;, location, transpose, v, 9))
</span><span class="cx">         return;
</span><span class="cx">     m_context-&gt;uniformMatrix3fv(location-&gt;location(), v-&gt;length() / 9, transpose, v-&gt;data());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniformMatrix3fv(const WebGLUniformLocation* location, GC3Dboolean transpose, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniformMatrix3fv(const WebGLUniformLocation* location, GC3Dboolean transpose, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformMatrixParameters(&quot;uniformMatrix3fv&quot;, location, transpose, v, size, 9))
</span><span class="cx">         return;
</span><span class="cx">     m_context-&gt;uniformMatrix3fv(location-&gt;location(), size / 9, transpose, v);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniformMatrix4fv(const WebGLUniformLocation* location, GC3Dboolean transpose, Float32Array* v, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniformMatrix4fv(const WebGLUniformLocation* location, GC3Dboolean transpose, Float32Array* v, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformMatrixParameters(&quot;uniformMatrix4fv&quot;, location, transpose, v, 16))
</span><span class="cx">         return;
</span><span class="cx">     m_context-&gt;uniformMatrix4fv(location-&gt;location(), v-&gt;length() / 16, transpose, v-&gt;data());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::uniformMatrix4fv(const WebGLUniformLocation* location, GC3Dboolean transpose, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::uniformMatrix4fv(const WebGLUniformLocation* location, GC3Dboolean transpose, GC3Dfloat* v, GC3Dsizei size, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateUniformMatrixParameters(&quot;uniformMatrix4fv&quot;, location, transpose, v, size, 16))
</span><span class="cx">         return;
</span><span class="cx">     m_context-&gt;uniformMatrix4fv(location-&gt;location(), size / 16, transpose, v);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::useProgram(WebGLProgram* program, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::useProgram(WebGLProgram* program, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     bool deleted;
</span><span class="cx">     if (!checkObjectToBeBound(&quot;useProgram&quot;, program, deleted))
</span><span class="cx">         return;
</span><span class="lines">@@ -3674,9 +3602,8 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::validateProgram(WebGLProgram* program, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::validateProgram(WebGLProgram* program, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending() || !validateWebGLObject(&quot;validateProgram&quot;, program))
</span><span class="cx">         return;
</span><span class="cx">     m_context-&gt;validateProgram(objectOrZero(program));
</span><span class="lines">@@ -3742,9 +3669,8 @@
</span><span class="cx">     vertexAttribfvImpl(&quot;vertexAttrib4fv&quot;, index, v, size, 4);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebGLRenderingContextBase::vertexAttribPointer(GC3Duint index, GC3Dint size, GC3Denum type, GC3Dboolean normalized, GC3Dsizei stride, long long offset, ExceptionCode&amp; ec)
</del><ins>+void WebGLRenderingContextBase::vertexAttribPointer(GC3Duint index, GC3Dint size, GC3Denum type, GC3Dboolean normalized, GC3Dsizei stride, long long offset, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><del>-    UNUSED_PARAM(ec);
</del><span class="cx">     if (isContextLostOrPending())
</span><span class="cx">         return;
</span><span class="cx">     switch (type) {
</span></span></pre>
</div>
</div>

</body>
</html>