<!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>[183726] 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/183726">183726</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2015-05-02 19:20:17 -0700 (Sat, 02 May 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Purge PassRefPtr create() factory functions in html
https://bugs.webkit.org/show_bug.cgi?id=144522

Patch by Gyuyoung Kim &lt;gyuyoung.kim@samsung.com&gt; on 2015-05-02
Reviewed by Darin Adler.

Return Ref instead of PassRefPtr in create() factory functions in html, because the factory
can't return null. This patch is a first step to purge in html. Following patch is going to
be uploaded.

No new tests, no behavior changes.

* html/FileInputType.cpp:
(WebCore::UploadButtonElement::create):
(WebCore::UploadButtonElement::createForMultiple):
* html/MediaController.cpp:
(MediaController::create):
* html/MediaController.h:
* html/canvas/WebGLBuffer.cpp:
(WebCore::WebGLBuffer::create):
* html/canvas/WebGLBuffer.h:
* html/canvas/WebGLContextAttributes.cpp:
(WebCore::WebGLContextAttributes::create):
* html/canvas/WebGLContextAttributes.h:
* html/canvas/WebGLContextGroup.cpp:
(WebCore::WebGLContextGroup::create):
* html/canvas/WebGLContextGroup.h:
* html/canvas/WebGLFramebuffer.cpp:
(WebCore::WebGLFramebuffer::create):
* html/canvas/WebGLFramebuffer.h:
* html/canvas/WebGLProgram.cpp:
(WebCore::WebGLProgram::create):
* html/canvas/WebGLProgram.h:
* html/canvas/WebGLQuery.cpp:
(WebCore::WebGLQuery::create):
* html/canvas/WebGLQuery.h:
* html/canvas/WebGLRenderbuffer.cpp:
(WebCore::WebGLRenderbuffer::create):
* html/canvas/WebGLRenderbuffer.h:
* html/canvas/WebGLSampler.cpp:
(WebCore::WebGLSampler::create):
* html/canvas/WebGLSampler.h:
* html/canvas/WebGLShader.cpp:
(WebCore::WebGLShader::create):
* html/canvas/WebGLShader.h:
* html/canvas/WebGLShaderPrecisionFormat.cpp:
(WebCore::WebGLShaderPrecisionFormat::create):
* html/canvas/WebGLShaderPrecisionFormat.h:
* html/canvas/WebGLSync.cpp:
(WebCore::WebGLSync::create):
* html/canvas/WebGLSync.h:
* html/canvas/WebGLTexture.cpp:
(WebCore::WebGLTexture::create):
* html/canvas/WebGLTexture.h:
* html/canvas/WebGLTransformFeedback.cpp:
(WebCore::WebGLTransformFeedback::create):
* html/canvas/WebGLTransformFeedback.h:
* html/canvas/WebGLUniformLocation.cpp:
(WebCore::WebGLUniformLocation::create):
* html/canvas/WebGLUniformLocation.h:
* html/canvas/WebGLVertexArrayObject.cpp:
(WebCore::WebGLVertexArrayObject::create):
* html/canvas/WebGLVertexArrayObject.h:
* html/canvas/WebGLVertexArrayObjectOES.cpp:
(WebCore::WebGLVertexArrayObjectOES::create):
* html/canvas/WebGLVertexArrayObjectOES.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorehtmlFileInputTypecpp">trunk/Source/WebCore/html/FileInputType.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlMediaControllercpp">trunk/Source/WebCore/html/MediaController.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlMediaControllerh">trunk/Source/WebCore/html/MediaController.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLBuffercpp">trunk/Source/WebCore/html/canvas/WebGLBuffer.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLBufferh">trunk/Source/WebCore/html/canvas/WebGLBuffer.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLContextAttributescpp">trunk/Source/WebCore/html/canvas/WebGLContextAttributes.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLContextAttributesh">trunk/Source/WebCore/html/canvas/WebGLContextAttributes.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLContextGroupcpp">trunk/Source/WebCore/html/canvas/WebGLContextGroup.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLContextGrouph">trunk/Source/WebCore/html/canvas/WebGLContextGroup.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLFramebuffercpp">trunk/Source/WebCore/html/canvas/WebGLFramebuffer.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLFramebufferh">trunk/Source/WebCore/html/canvas/WebGLFramebuffer.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLProgramcpp">trunk/Source/WebCore/html/canvas/WebGLProgram.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLProgramh">trunk/Source/WebCore/html/canvas/WebGLProgram.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLQuerycpp">trunk/Source/WebCore/html/canvas/WebGLQuery.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLQueryh">trunk/Source/WebCore/html/canvas/WebGLQuery.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLRenderbuffercpp">trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLRenderbufferh">trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLSamplercpp">trunk/Source/WebCore/html/canvas/WebGLSampler.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLSamplerh">trunk/Source/WebCore/html/canvas/WebGLSampler.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLShadercpp">trunk/Source/WebCore/html/canvas/WebGLShader.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLShaderh">trunk/Source/WebCore/html/canvas/WebGLShader.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLShaderPrecisionFormatcpp">trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLShaderPrecisionFormath">trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLSynccpp">trunk/Source/WebCore/html/canvas/WebGLSync.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLSynch">trunk/Source/WebCore/html/canvas/WebGLSync.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLTexturecpp">trunk/Source/WebCore/html/canvas/WebGLTexture.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLTextureh">trunk/Source/WebCore/html/canvas/WebGLTexture.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLTransformFeedbackcpp">trunk/Source/WebCore/html/canvas/WebGLTransformFeedback.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLTransformFeedbackh">trunk/Source/WebCore/html/canvas/WebGLTransformFeedback.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLUniformLocationcpp">trunk/Source/WebCore/html/canvas/WebGLUniformLocation.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLUniformLocationh">trunk/Source/WebCore/html/canvas/WebGLUniformLocation.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLVertexArrayObjectcpp">trunk/Source/WebCore/html/canvas/WebGLVertexArrayObject.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLVertexArrayObjecth">trunk/Source/WebCore/html/canvas/WebGLVertexArrayObject.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLVertexArrayObjectOEScpp">trunk/Source/WebCore/html/canvas/WebGLVertexArrayObjectOES.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLVertexArrayObjectOESh">trunk/Source/WebCore/html/canvas/WebGLVertexArrayObjectOES.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/ChangeLog        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -1,3 +1,71 @@
</span><ins>+2015-05-02  Gyuyoung Kim  &lt;gyuyoung.kim@samsung.com&gt;
+
+        Purge PassRefPtr create() factory functions in html 
+        https://bugs.webkit.org/show_bug.cgi?id=144522
+
+        Reviewed by Darin Adler.
+
+        Return Ref instead of PassRefPtr in create() factory functions in html, because the factory
+        can't return null. This patch is a first step to purge in html. Following patch is going to
+        be uploaded.
+
+        No new tests, no behavior changes.
+
+        * html/FileInputType.cpp:
+        (WebCore::UploadButtonElement::create):
+        (WebCore::UploadButtonElement::createForMultiple):
+        * html/MediaController.cpp:
+        (MediaController::create):
+        * html/MediaController.h:
+        * html/canvas/WebGLBuffer.cpp:
+        (WebCore::WebGLBuffer::create):
+        * html/canvas/WebGLBuffer.h:
+        * html/canvas/WebGLContextAttributes.cpp:
+        (WebCore::WebGLContextAttributes::create):
+        * html/canvas/WebGLContextAttributes.h:
+        * html/canvas/WebGLContextGroup.cpp:
+        (WebCore::WebGLContextGroup::create):
+        * html/canvas/WebGLContextGroup.h:
+        * html/canvas/WebGLFramebuffer.cpp:
+        (WebCore::WebGLFramebuffer::create):
+        * html/canvas/WebGLFramebuffer.h:
+        * html/canvas/WebGLProgram.cpp:
+        (WebCore::WebGLProgram::create):
+        * html/canvas/WebGLProgram.h:
+        * html/canvas/WebGLQuery.cpp:
+        (WebCore::WebGLQuery::create):
+        * html/canvas/WebGLQuery.h:
+        * html/canvas/WebGLRenderbuffer.cpp:
+        (WebCore::WebGLRenderbuffer::create):
+        * html/canvas/WebGLRenderbuffer.h:
+        * html/canvas/WebGLSampler.cpp:
+        (WebCore::WebGLSampler::create):
+        * html/canvas/WebGLSampler.h:
+        * html/canvas/WebGLShader.cpp:
+        (WebCore::WebGLShader::create):
+        * html/canvas/WebGLShader.h:
+        * html/canvas/WebGLShaderPrecisionFormat.cpp:
+        (WebCore::WebGLShaderPrecisionFormat::create):
+        * html/canvas/WebGLShaderPrecisionFormat.h:
+        * html/canvas/WebGLSync.cpp:
+        (WebCore::WebGLSync::create):
+        * html/canvas/WebGLSync.h:
+        * html/canvas/WebGLTexture.cpp:
+        (WebCore::WebGLTexture::create):
+        * html/canvas/WebGLTexture.h:
+        * html/canvas/WebGLTransformFeedback.cpp:
+        (WebCore::WebGLTransformFeedback::create):
+        * html/canvas/WebGLTransformFeedback.h:
+        * html/canvas/WebGLUniformLocation.cpp:
+        (WebCore::WebGLUniformLocation::create):
+        * html/canvas/WebGLUniformLocation.h:
+        * html/canvas/WebGLVertexArrayObject.cpp:
+        (WebCore::WebGLVertexArrayObject::create):
+        * html/canvas/WebGLVertexArrayObject.h:
+        * html/canvas/WebGLVertexArrayObjectOES.cpp:
+        (WebCore::WebGLVertexArrayObjectOES::create):
+        * html/canvas/WebGLVertexArrayObjectOES.h:
+
</ins><span class="cx"> 2015-05-02  Andreas Kling  &lt;akling@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Style recalc always causes detach from shared StyleRareNonInheritedData.
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlFileInputTypecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/FileInputType.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/FileInputType.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/FileInputType.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -47,25 +47,25 @@
</span><span class="cx"> 
</span><span class="cx"> class UploadButtonElement final : public HTMLInputElement {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;UploadButtonElement&gt; create(Document&amp;);
-    static PassRefPtr&lt;UploadButtonElement&gt; createForMultiple(Document&amp;);
</del><ins>+    static Ref&lt;UploadButtonElement&gt; create(Document&amp;);
+    static Ref&lt;UploadButtonElement&gt; createForMultiple(Document&amp;);
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     UploadButtonElement(Document&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;UploadButtonElement&gt; UploadButtonElement::create(Document&amp; document)
</del><ins>+Ref&lt;UploadButtonElement&gt; UploadButtonElement::create(Document&amp; document)
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;UploadButtonElement&gt; button = adoptRef(new UploadButtonElement(document));
</del><ins>+    Ref&lt;UploadButtonElement&gt; button = adoptRef(*new UploadButtonElement(document));
</ins><span class="cx">     button-&gt;setValue(fileButtonChooseFileLabel());
</span><del>-    return button.release();
</del><ins>+    return button;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;UploadButtonElement&gt; UploadButtonElement::createForMultiple(Document&amp; document)
</del><ins>+Ref&lt;UploadButtonElement&gt; UploadButtonElement::createForMultiple(Document&amp; document)
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;UploadButtonElement&gt; button = adoptRef(new UploadButtonElement(document));
</del><ins>+    Ref&lt;UploadButtonElement&gt; button = adoptRef(*new UploadButtonElement(document));
</ins><span class="cx">     button-&gt;setValue(fileButtonChooseMultipleFilesLabel());
</span><del>-    return button.release();
</del><ins>+    return button;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> UploadButtonElement::UploadButtonElement(Document&amp; document)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlMediaControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/MediaController.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/MediaController.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/MediaController.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -37,9 +37,9 @@
</span><span class="cx"> 
</span><span class="cx"> using namespace WebCore;
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;MediaController&gt; MediaController::create(ScriptExecutionContext&amp; context)
</del><ins>+Ref&lt;MediaController&gt; MediaController::create(ScriptExecutionContext&amp; context)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new MediaController(context));
</del><ins>+    return adoptRef(*new MediaController(context));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> MediaController::MediaController(ScriptExecutionContext&amp; context)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlMediaControllerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/MediaController.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/MediaController.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/MediaController.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> 
</span><span class="cx"> class MediaController final : public RefCounted&lt;MediaController&gt;, public MediaControllerInterface, public EventTargetWithInlineData {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;MediaController&gt; create(ScriptExecutionContext&amp;);
</del><ins>+    static Ref&lt;MediaController&gt; create(ScriptExecutionContext&amp;);
</ins><span class="cx">     virtual ~MediaController();
</span><span class="cx"> 
</span><span class="cx">     void addMediaElement(HTMLMediaElement*);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLBuffercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLBuffer.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLBuffer.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLBuffer.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -34,9 +34,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLBuffer&gt; WebGLBuffer::create(WebGLRenderingContextBase* ctx)
</del><ins>+Ref&lt;WebGLBuffer&gt; WebGLBuffer::create(WebGLRenderingContextBase* ctx)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLBuffer(ctx));
</del><ins>+    return adoptRef(*new WebGLBuffer(ctx));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLBuffer::WebGLBuffer(WebGLRenderingContextBase* ctx)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLBufferh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLBuffer.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLBuffer.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLBuffer.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebGLBuffer();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebGLBuffer&gt; create(WebGLRenderingContextBase*);
</del><ins>+    static Ref&lt;WebGLBuffer&gt; create(WebGLRenderingContextBase*);
</ins><span class="cx"> 
</span><span class="cx">     bool associateBufferData(GC3Dsizeiptr size);
</span><span class="cx">     bool associateBufferData(JSC::ArrayBuffer*);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLContextAttributescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLContextAttributes.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLContextAttributes.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLContextAttributes.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -32,14 +32,14 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLContextAttributes&gt; WebGLContextAttributes::create()
</del><ins>+Ref&lt;WebGLContextAttributes&gt; WebGLContextAttributes::create()
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLContextAttributes());
</del><ins>+    return adoptRef(*new WebGLContextAttributes());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLContextAttributes&gt; WebGLContextAttributes::create(GraphicsContext3D::Attributes attributes)
</del><ins>+Ref&lt;WebGLContextAttributes&gt; WebGLContextAttributes::create(GraphicsContext3D::Attributes attributes)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLContextAttributes(attributes));
</del><ins>+    return adoptRef(*new WebGLContextAttributes(attributes));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLContextAttributes::WebGLContextAttributes()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLContextAttributesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLContextAttributes.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLContextAttributes.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLContextAttributes.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -38,10 +38,10 @@
</span><span class="cx">     virtual ~WebGLContextAttributes();
</span><span class="cx"> 
</span><span class="cx">     // Create a new attributes object
</span><del>-    static PassRefPtr&lt;WebGLContextAttributes&gt; create();
</del><ins>+    static Ref&lt;WebGLContextAttributes&gt; create();
</ins><span class="cx"> 
</span><span class="cx">     // Create a new attributes object initialized with preexisting attributes
</span><del>-    static PassRefPtr&lt;WebGLContextAttributes&gt; create(GraphicsContext3D::Attributes attributes);
</del><ins>+    static Ref&lt;WebGLContextAttributes&gt; create(GraphicsContext3D::Attributes);
</ins><span class="cx"> 
</span><span class="cx">     // Whether or not the drawing buffer has an alpha channel; default=true
</span><span class="cx">     bool alpha() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLContextGroupcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLContextGroup.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLContextGroup.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLContextGroup.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -35,10 +35,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLContextGroup&gt; WebGLContextGroup::create()
</del><ins>+Ref&lt;WebGLContextGroup&gt; WebGLContextGroup::create()
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;WebGLContextGroup&gt; contextGroup = adoptRef(new WebGLContextGroup());
-    return contextGroup.release();
</del><ins>+    return adoptRef(*new WebGLContextGroup());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLContextGroup::WebGLContextGroup()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLContextGrouph"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLContextGroup.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLContextGroup.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLContextGroup.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebGLContextGroup final : public RefCounted&lt;WebGLContextGroup&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebGLContextGroup&gt; create();
</del><ins>+    static Ref&lt;WebGLContextGroup&gt; create();
</ins><span class="cx">     ~WebGLContextGroup();
</span><span class="cx"> 
</span><span class="cx">     void addContext(WebGLRenderingContextBase*);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLFramebuffercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLFramebuffer.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLFramebuffer.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLFramebuffer.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> 
</span><span class="cx">     class WebGLRenderbufferAttachment : public WebGLFramebuffer::WebGLAttachment {
</span><span class="cx">     public:
</span><del>-        static PassRefPtr&lt;WebGLFramebuffer::WebGLAttachment&gt; create(WebGLRenderbuffer*);
</del><ins>+        static Ref&lt;WebGLFramebuffer::WebGLAttachment&gt; create(WebGLRenderbuffer*);
</ins><span class="cx"> 
</span><span class="cx">     private:
</span><span class="cx">         WebGLRenderbufferAttachment(WebGLRenderbuffer*);
</span><span class="lines">@@ -66,9 +66,9 @@
</span><span class="cx">         RefPtr&lt;WebGLRenderbuffer&gt; m_renderbuffer;
</span><span class="cx">     };
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;WebGLFramebuffer::WebGLAttachment&gt; WebGLRenderbufferAttachment::create(WebGLRenderbuffer* renderbuffer)
</del><ins>+    Ref&lt;WebGLFramebuffer::WebGLAttachment&gt; WebGLRenderbufferAttachment::create(WebGLRenderbuffer* renderbuffer)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new WebGLRenderbufferAttachment(renderbuffer));
</del><ins>+        return adoptRef(*new WebGLRenderbufferAttachment(renderbuffer));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     WebGLRenderbufferAttachment::WebGLRenderbufferAttachment(WebGLRenderbuffer* renderbuffer)
</span><span class="lines">@@ -139,7 +139,7 @@
</span><span class="cx"> 
</span><span class="cx">     class WebGLTextureAttachment : public WebGLFramebuffer::WebGLAttachment {
</span><span class="cx">     public:
</span><del>-        static PassRefPtr&lt;WebGLFramebuffer::WebGLAttachment&gt; create(WebGLTexture*, GC3Denum target, GC3Dint level);
</del><ins>+        static Ref&lt;WebGLFramebuffer::WebGLAttachment&gt; create(WebGLTexture*, GC3Denum target, GC3Dint level);
</ins><span class="cx"> 
</span><span class="cx">     private:
</span><span class="cx">         WebGLTextureAttachment(WebGLTexture*, GC3Denum target, GC3Dint level);
</span><span class="lines">@@ -162,9 +162,9 @@
</span><span class="cx">         GC3Dint m_level;
</span><span class="cx">     };
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;WebGLFramebuffer::WebGLAttachment&gt; WebGLTextureAttachment::create(WebGLTexture* texture, GC3Denum target, GC3Dint level)
</del><ins>+    Ref&lt;WebGLFramebuffer::WebGLAttachment&gt; WebGLTextureAttachment::create(WebGLTexture* texture, GC3Denum target, GC3Dint level)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new WebGLTextureAttachment(texture, target, level));
</del><ins>+        return adoptRef(*new WebGLTextureAttachment(texture, target, level));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     WebGLTextureAttachment::WebGLTextureAttachment(WebGLTexture* texture, GC3Denum target, GC3Dint level)
</span><span class="lines">@@ -269,9 +269,9 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLFramebuffer&gt; WebGLFramebuffer::create(WebGLRenderingContextBase* ctx)
</del><ins>+Ref&lt;WebGLFramebuffer&gt; WebGLFramebuffer::create(WebGLRenderingContextBase* ctx)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLFramebuffer(ctx));
</del><ins>+    return adoptRef(*new WebGLFramebuffer(ctx));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLFramebuffer::WebGLFramebuffer(WebGLRenderingContextBase* ctx)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLFramebufferh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLFramebuffer.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLFramebuffer.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLFramebuffer.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual ~WebGLFramebuffer();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebGLFramebuffer&gt; create(WebGLRenderingContextBase*);
</del><ins>+    static Ref&lt;WebGLFramebuffer&gt; create(WebGLRenderingContextBase*);
</ins><span class="cx"> 
</span><span class="cx">     void setAttachmentForBoundFramebuffer(GC3Denum attachment, GC3Denum texTarget, WebGLTexture*, GC3Dint level);
</span><span class="cx">     void setAttachmentForBoundFramebuffer(GC3Denum attachment, WebGLRenderbuffer*);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLProgramcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLProgram.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLProgram.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLProgram.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -34,9 +34,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLProgram&gt; WebGLProgram::create(WebGLRenderingContextBase* ctx)
</del><ins>+Ref&lt;WebGLProgram&gt; WebGLProgram::create(WebGLRenderingContextBase* ctx)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLProgram(ctx));
</del><ins>+    return adoptRef(*new WebGLProgram(ctx));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLProgram::WebGLProgram(WebGLRenderingContextBase* ctx)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLProgramh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLProgram.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLProgram.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLProgram.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebGLProgram();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebGLProgram&gt; create(WebGLRenderingContextBase*);
</del><ins>+    static Ref&lt;WebGLProgram&gt; create(WebGLRenderingContextBase*);
</ins><span class="cx"> 
</span><span class="cx">     unsigned numActiveAttribLocations();
</span><span class="cx">     GC3Dint getActiveAttribLocation(GC3Duint index);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLQuerycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLQuery.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLQuery.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLQuery.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -33,9 +33,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx">     
</span><del>-PassRefPtr&lt;WebGLQuery&gt; WebGLQuery::create(WebGLRenderingContextBase* ctx)
</del><ins>+Ref&lt;WebGLQuery&gt; WebGLQuery::create(WebGLRenderingContextBase* ctx)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLQuery(ctx));
</del><ins>+    return adoptRef(*new WebGLQuery(ctx));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLQuery::~WebGLQuery()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLQueryh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLQuery.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLQuery.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLQuery.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebGLQuery();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebGLQuery&gt; create(WebGLRenderingContextBase*);
</del><ins>+    static Ref&lt;WebGLQuery&gt; create(WebGLRenderingContextBase*);
</ins><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="cx">     WebGLQuery(WebGLRenderingContextBase*);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLRenderbuffercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -34,9 +34,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLRenderbuffer&gt; WebGLRenderbuffer::create(WebGLRenderingContextBase* ctx)
</del><ins>+Ref&lt;WebGLRenderbuffer&gt; WebGLRenderbuffer::create(WebGLRenderingContextBase* ctx)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLRenderbuffer(ctx));
</del><ins>+    return adoptRef(*new WebGLRenderbuffer(ctx));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLRenderbuffer::~WebGLRenderbuffer()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLRenderbufferh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLRenderbuffer.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebGLRenderbuffer();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebGLRenderbuffer&gt; create(WebGLRenderingContextBase*);
</del><ins>+    static Ref&lt;WebGLRenderbuffer&gt; create(WebGLRenderingContextBase*);
</ins><span class="cx"> 
</span><span class="cx">     void setInternalFormat(GC3Denum internalformat)
</span><span class="cx">     {
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLSamplercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLSampler.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLSampler.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLSampler.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -33,9 +33,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx">     
</span><del>-PassRefPtr&lt;WebGLSampler&gt; WebGLSampler::create(WebGLRenderingContextBase* ctx)
</del><ins>+Ref&lt;WebGLSampler&gt; WebGLSampler::create(WebGLRenderingContextBase* ctx)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLSampler(ctx));
</del><ins>+    return adoptRef(*new WebGLSampler(ctx));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLSampler::~WebGLSampler()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLSamplerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLSampler.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLSampler.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLSampler.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebGLSampler();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebGLSampler&gt; create(WebGLRenderingContextBase*);
</del><ins>+    static Ref&lt;WebGLSampler&gt; create(WebGLRenderingContextBase*);
</ins><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="cx">     WebGLSampler(WebGLRenderingContextBase*);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLShadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLShader.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLShader.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLShader.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -34,9 +34,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLShader&gt; WebGLShader::create(WebGLRenderingContextBase* ctx, GC3Denum type)
</del><ins>+Ref&lt;WebGLShader&gt; WebGLShader::create(WebGLRenderingContextBase* ctx, GC3Denum type)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLShader(ctx, type));
</del><ins>+    return adoptRef(*new WebGLShader(ctx, type));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLShader::WebGLShader(WebGLRenderingContextBase* ctx, GC3Denum type)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLShaderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLShader.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLShader.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLShader.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebGLShader();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebGLShader&gt; create(WebGLRenderingContextBase*, GC3Denum);
</del><ins>+    static Ref&lt;WebGLShader&gt; create(WebGLRenderingContextBase*, GC3Denum);
</ins><span class="cx"> 
</span><span class="cx">     GC3Denum getType() const { return m_type; }
</span><span class="cx">     const String&amp; getSource() const { return m_source; }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLShaderPrecisionFormatcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -33,9 +33,9 @@
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> // static
</span><del>-PassRefPtr&lt;WebGLShaderPrecisionFormat&gt; WebGLShaderPrecisionFormat::create(GC3Dint rangeMin, GC3Dint rangeMax, GC3Dint precision)
</del><ins>+Ref&lt;WebGLShaderPrecisionFormat&gt; WebGLShaderPrecisionFormat::create(GC3Dint rangeMin, GC3Dint rangeMax, GC3Dint precision)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLShaderPrecisionFormat(rangeMin, rangeMax, precision));
</del><ins>+    return adoptRef(*new WebGLShaderPrecisionFormat(rangeMin, rangeMax, precision));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> GC3Dint WebGLShaderPrecisionFormat::rangeMin() const
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLShaderPrecisionFormath"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebGLShaderPrecisionFormat : public RefCounted&lt;WebGLShaderPrecisionFormat&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebGLShaderPrecisionFormat&gt; create(GC3Dint rangeMin, GC3Dint rangeMax, GC3Dint precision);
</del><ins>+    static Ref&lt;WebGLShaderPrecisionFormat&gt; create(GC3Dint rangeMin, GC3Dint rangeMax, GC3Dint precision);
</ins><span class="cx"> 
</span><span class="cx">     GC3Dint rangeMin() const;
</span><span class="cx">     GC3Dint rangeMax() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLSynccpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLSync.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLSync.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLSync.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -33,9 +33,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx">     
</span><del>-PassRefPtr&lt;WebGLSync&gt; WebGLSync::create(WebGLRenderingContextBase* ctx)
</del><ins>+Ref&lt;WebGLSync&gt; WebGLSync::create(WebGLRenderingContextBase* ctx)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLSync(ctx));
</del><ins>+    return adoptRef(*new WebGLSync(ctx));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLSync::~WebGLSync()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLSynch"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLSync.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLSync.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLSync.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebGLSync();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebGLSync&gt; create(WebGLRenderingContextBase*);
</del><ins>+    static Ref&lt;WebGLSync&gt; create(WebGLRenderingContextBase*);
</ins><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="cx">     WebGLSync(WebGLRenderingContextBase*);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLTexturecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLTexture.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLTexture.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLTexture.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -35,9 +35,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLTexture&gt; WebGLTexture::create(WebGLRenderingContextBase* ctx)
</del><ins>+Ref&lt;WebGLTexture&gt; WebGLTexture::create(WebGLRenderingContextBase* ctx)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLTexture(ctx));
</del><ins>+    return adoptRef(*new WebGLTexture(ctx));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLTexture::WebGLTexture(WebGLRenderingContextBase* ctx)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLTextureh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLTexture.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLTexture.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLTexture.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual ~WebGLTexture();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebGLTexture&gt; create(WebGLRenderingContextBase*);
</del><ins>+    static Ref&lt;WebGLTexture&gt; create(WebGLRenderingContextBase*);
</ins><span class="cx"> 
</span><span class="cx">     void setTarget(GC3Denum target, GC3Dint maxLevel);
</span><span class="cx">     void setParameteri(GC3Denum pname, GC3Dint param);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLTransformFeedbackcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLTransformFeedback.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLTransformFeedback.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLTransformFeedback.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -33,9 +33,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx">     
</span><del>-PassRefPtr&lt;WebGLTransformFeedback&gt; WebGLTransformFeedback::create(WebGLRenderingContextBase* ctx)
</del><ins>+Ref&lt;WebGLTransformFeedback&gt; WebGLTransformFeedback::create(WebGLRenderingContextBase* ctx)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLTransformFeedback(ctx));
</del><ins>+    return adoptRef(*new WebGLTransformFeedback(ctx));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLTransformFeedback::~WebGLTransformFeedback()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLTransformFeedbackh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLTransformFeedback.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLTransformFeedback.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLTransformFeedback.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebGLTransformFeedback();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebGLTransformFeedback&gt; create(WebGLRenderingContextBase*);
</del><ins>+    static Ref&lt;WebGLTransformFeedback&gt; create(WebGLRenderingContextBase*);
</ins><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="cx">     WebGLTransformFeedback(WebGLRenderingContextBase*);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLUniformLocationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLUniformLocation.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLUniformLocation.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLUniformLocation.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -32,9 +32,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLUniformLocation&gt; WebGLUniformLocation::create(WebGLProgram* program, GC3Dint location, GC3Denum type)
</del><ins>+Ref&lt;WebGLUniformLocation&gt; WebGLUniformLocation::create(WebGLProgram* program, GC3Dint location, GC3Denum type)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLUniformLocation(program, location, type));
</del><ins>+    return adoptRef(*new WebGLUniformLocation(program, location, type));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLUniformLocation::WebGLUniformLocation(WebGLProgram* program, GC3Dint location, GC3Denum type)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLUniformLocationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLUniformLocation.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLUniformLocation.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLUniformLocation.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx"> public:
</span><span class="cx">     ~WebGLUniformLocation() { }
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebGLUniformLocation&gt; create(WebGLProgram*, GC3Dint location, GC3Denum type);
</del><ins>+    static Ref&lt;WebGLUniformLocation&gt; create(WebGLProgram*, GC3Dint location, GC3Denum type);
</ins><span class="cx"> 
</span><span class="cx">     WebGLProgram* program() const;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLVertexArrayObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLVertexArrayObject.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLVertexArrayObject.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLVertexArrayObject.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -33,9 +33,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx">     
</span><del>-PassRefPtr&lt;WebGLVertexArrayObject&gt; WebGLVertexArrayObject::create(WebGLRenderingContextBase* ctx, VAOType type)
</del><ins>+Ref&lt;WebGLVertexArrayObject&gt; WebGLVertexArrayObject::create(WebGLRenderingContextBase* ctx, VAOType type)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLVertexArrayObject(ctx, type));
</del><ins>+    return adoptRef(*new WebGLVertexArrayObject(ctx, type));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLVertexArrayObject::~WebGLVertexArrayObject()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLVertexArrayObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLVertexArrayObject.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLVertexArrayObject.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLVertexArrayObject.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebGLVertexArrayObject final : public WebGLVertexArrayObjectBase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebGLVertexArrayObject&gt; create(WebGLRenderingContextBase*, VAOType);
</del><ins>+    static Ref&lt;WebGLVertexArrayObject&gt; create(WebGLRenderingContextBase*, VAOType);
</ins><span class="cx">     virtual ~WebGLVertexArrayObject();
</span><span class="cx"> private:
</span><span class="cx">     WebGLVertexArrayObject(WebGLRenderingContextBase*, VAOType);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLVertexArrayObjectOEScpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLVertexArrayObjectOES.cpp (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLVertexArrayObjectOES.cpp        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLVertexArrayObjectOES.cpp        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -34,9 +34,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebGLVertexArrayObjectOES&gt; WebGLVertexArrayObjectOES::create(WebGLRenderingContextBase* ctx, VAOType type)
</del><ins>+Ref&lt;WebGLVertexArrayObjectOES&gt; WebGLVertexArrayObjectOES::create(WebGLRenderingContextBase* ctx, VAOType type)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebGLVertexArrayObjectOES(ctx, type));
</del><ins>+    return adoptRef(*new WebGLVertexArrayObjectOES(ctx, type));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebGLVertexArrayObjectOES::WebGLVertexArrayObjectOES(WebGLRenderingContextBase* ctx, VAOType type)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLVertexArrayObjectOESh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLVertexArrayObjectOES.h (183725 => 183726)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLVertexArrayObjectOES.h        2015-05-03 00:53:18 UTC (rev 183725)
+++ trunk/Source/WebCore/html/canvas/WebGLVertexArrayObjectOES.h        2015-05-03 02:20:17 UTC (rev 183726)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebGLVertexArrayObjectOES final : public WebGLVertexArrayObjectBase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebGLVertexArrayObjectOES&gt; create(WebGLRenderingContextBase*, VAOType);
</del><ins>+    static Ref&lt;WebGLVertexArrayObjectOES&gt; create(WebGLRenderingContextBase*, VAOType);
</ins><span class="cx">     virtual ~WebGLVertexArrayObjectOES();
</span><span class="cx"> private:
</span><span class="cx">     WebGLVertexArrayObjectOES(WebGLRenderingContextBase*, VAOType);
</span></span></pre>
</div>
</div>

</body>
</html>