<!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>[189650] 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/189650">189650</a></dd>
<dt>Author</dt> <dd>gyuyoung.kim@webkit.org</dd>
<dt>Date</dt> <dd>2015-09-12 01:45:51 -0700 (Sat, 12 Sep 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove all uses of PassRefPtr in WebCore/accessibility and WebCore/fileapi
https://bugs.webkit.org/show_bug.cgi?id=149059

Reviewed by Darin Adler.

* accessibility/AXObjectCache.cpp:
* accessibility/AccessibilityObject.cpp:
(WebCore::rangeClosestToRange):
(WebCore::AccessibilityObject::rangeOfStringClosestToRangeInDirection):
(WebCore::AccessibilityObject::selectionRange):
(WebCore::AccessibilityObject::selectText):
* accessibility/AccessibilityObject.h:
* accessibility/ios/AXObjectCacheIOS.mm:
* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper _convertToDOMRange:]):
(-[WebAccessibilityObjectWrapper textMarkerForPosition:]):
* accessibility/mac/AXObjectCacheMac.mm:
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper _textMarkerForIndex:]):
* fileapi/FileList.h:
(WebCore::FileList::append):
* fileapi/WebKitBlobBuilder.cpp:
(WebCore::BlobBuilder::append):
* fileapi/WebKitBlobBuilder.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAXObjectCachecpp">trunk/Source/WebCore/accessibility/AXObjectCache.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityObjectcpp">trunk/Source/WebCore/accessibility/AccessibilityObject.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityObjecth">trunk/Source/WebCore/accessibility/AccessibilityObject.h</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityiosAXObjectCacheIOSmm">trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityiosWebAccessibilityObjectWrapperIOSmm">trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm</a></li>
<li><a href="#trunkSourceWebCoreaccessibilitymacAXObjectCacheMacmm">trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm</a></li>
<li><a href="#trunkSourceWebCoreaccessibilitymacWebAccessibilityObjectWrapperMacmm">trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm</a></li>
<li><a href="#trunkSourceWebCorefileapiFileListh">trunk/Source/WebCore/fileapi/FileList.h</a></li>
<li><a href="#trunkSourceWebCorefileapiWebKitBlobBuildercpp">trunk/Source/WebCore/fileapi/WebKitBlobBuilder.cpp</a></li>
<li><a href="#trunkSourceWebCorefileapiWebKitBlobBuilderh">trunk/Source/WebCore/fileapi/WebKitBlobBuilder.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (189649 => 189650)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-09-12 06:02:18 UTC (rev 189649)
+++ trunk/Source/WebCore/ChangeLog        2015-09-12 08:45:51 UTC (rev 189650)
</span><span class="lines">@@ -1,3 +1,30 @@
</span><ins>+2015-09-12  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
+
+        Remove all uses of PassRefPtr in WebCore/accessibility and WebCore/fileapi
+        https://bugs.webkit.org/show_bug.cgi?id=149059
+
+        Reviewed by Darin Adler.
+
+        * accessibility/AXObjectCache.cpp:
+        * accessibility/AccessibilityObject.cpp:
+        (WebCore::rangeClosestToRange):
+        (WebCore::AccessibilityObject::rangeOfStringClosestToRangeInDirection):
+        (WebCore::AccessibilityObject::selectionRange):
+        (WebCore::AccessibilityObject::selectText):
+        * accessibility/AccessibilityObject.h:
+        * accessibility/ios/AXObjectCacheIOS.mm:
+        * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+        (-[WebAccessibilityObjectWrapper _convertToDOMRange:]):
+        (-[WebAccessibilityObjectWrapper textMarkerForPosition:]):
+        * accessibility/mac/AXObjectCacheMac.mm:
+        * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+        (-[WebAccessibilityObjectWrapper _textMarkerForIndex:]):
+        * fileapi/FileList.h:
+        (WebCore::FileList::append):
+        * fileapi/WebKitBlobBuilder.cpp:
+        (WebCore::BlobBuilder::append):
+        * fileapi/WebKitBlobBuilder.h:
+
</ins><span class="cx"> 2015-09-11  Said Abou-Hallawa  &lt;sabouhallawa@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         SVGColor custom text format is different from the CSS color custom text format
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAXObjectCachecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AXObjectCache.cpp (189649 => 189650)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AXObjectCache.cpp        2015-09-12 06:02:18 UTC (rev 189649)
+++ trunk/Source/WebCore/accessibility/AXObjectCache.cpp        2015-09-12 08:45:51 UTC (rev 189650)
</span><span class="lines">@@ -82,7 +82,6 @@
</span><span class="cx"> #include &quot;RenderView.h&quot;
</span><span class="cx"> #include &quot;ScrollView.h&quot;
</span><span class="cx"> #include &lt;wtf/DataLog.h&gt;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> 
</span><span class="cx"> #if ENABLE(VIDEO)
</span><span class="cx"> #include &quot;MediaControlElements.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityObject.cpp (189649 => 189650)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityObject.cpp        2015-09-12 06:02:18 UTC (rev 189649)
+++ trunk/Source/WebCore/accessibility/AccessibilityObject.cpp        2015-09-12 08:45:51 UTC (rev 189650)
</span><span class="lines">@@ -632,9 +632,10 @@
</span><span class="cx"> // Returns the range that is fewer positions away from the reference range.
</span><span class="cx"> // NOTE: The after range is expected to ACTUALLY be after the reference range and the before
</span><span class="cx"> // range is expected to ACTUALLY be before. These are not checked for performance reasons.
</span><del>-static PassRefPtr&lt;Range&gt; rangeClosestToRange(Range* referenceRange, PassRefPtr&lt;Range&gt; afterRange, PassRefPtr&lt;Range&gt; beforeRange)
</del><ins>+static RefPtr&lt;Range&gt; rangeClosestToRange(Range* referenceRange, RefPtr&lt;Range&gt;&amp;&amp; afterRange, RefPtr&lt;Range&gt;&amp;&amp; beforeRange)
</ins><span class="cx"> {
</span><del>-    ASSERT(referenceRange);
</del><ins>+    if (!referenceRange)
+        return nullptr;
</ins><span class="cx">     
</span><span class="cx">     // The treeScope for shadow nodes may not be the same scope as another element in a document.
</span><span class="cx">     // Comparisons may fail in that case, which are expected behavior and should not assert.
</span><span class="lines">@@ -646,7 +647,7 @@
</span><span class="cx">         return nullptr;
</span><span class="cx">     ASSERT(!beforeRange || beforeRange-&gt;endPosition() &lt;= referenceRange-&gt;startPosition());
</span><span class="cx">     
</span><del>-    if (!referenceRange || (!afterRange &amp;&amp; !beforeRange))
</del><ins>+    if (!afterRange &amp;&amp; !beforeRange)
</ins><span class="cx">         return nullptr;
</span><span class="cx">     if (afterRange &amp;&amp; !beforeRange)
</span><span class="cx">         return afterRange;
</span><span class="lines">@@ -659,7 +660,7 @@
</span><span class="cx">     return positionsToAfterRange &lt; positionsToBeforeRange ? afterRange : beforeRange;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;Range&gt; AccessibilityObject::rangeOfStringClosestToRangeInDirection(Range* referenceRange, AccessibilitySearchDirection searchDirection, Vector&lt;String&gt;&amp; searchStrings) const
</del><ins>+RefPtr&lt;Range&gt; AccessibilityObject::rangeOfStringClosestToRangeInDirection(Range* referenceRange, AccessibilitySearchDirection searchDirection, Vector&lt;String&gt;&amp; searchStrings) const
</ins><span class="cx"> {
</span><span class="cx">     Frame* frame = this-&gt;frame();
</span><span class="cx">     if (!frame)
</span><span class="lines">@@ -699,7 +700,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // Returns the range of the entire document if there is no selection.
</span><del>-PassRefPtr&lt;Range&gt; AccessibilityObject::selectionRange() const
</del><ins>+RefPtr&lt;Range&gt; AccessibilityObject::selectionRange() const
</ins><span class="cx"> {
</span><span class="cx">     Frame* frame = this-&gt;frame();
</span><span class="cx">     if (!frame)
</span><span class="lines">@@ -742,7 +743,7 @@
</span><span class="cx">         closestBeforeStringRange = rangeOfStringClosestToRangeInDirection(selectedStringRange.get(), SearchDirectionPrevious, searchStrings);
</span><span class="cx">     
</span><span class="cx">     // Determine which candidate is closest to the selection and perform the activity.
</span><del>-    if (RefPtr&lt;Range&gt; closestStringRange = rangeClosestToRange(selectedStringRange.get(), closestAfterStringRange, closestBeforeStringRange)) {
</del><ins>+    if (RefPtr&lt;Range&gt; closestStringRange = rangeClosestToRange(selectedStringRange.get(), WTF::move(closestAfterStringRange), WTF::move(closestBeforeStringRange))) {
</ins><span class="cx">         // If the search started within a text control, ensure that the result is inside that element.
</span><span class="cx">         if (element() &amp;&amp; element()-&gt;isTextFormControl()) {
</span><span class="cx">             if (!closestStringRange-&gt;startContainer().isDescendantOrShadowDescendantOf(element()) || !closestStringRange-&gt;endContainer().isDescendantOrShadowDescendantOf(element()))
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityObject.h (189649 => 189650)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityObject.h        2015-09-12 06:02:18 UTC (rev 189649)
+++ trunk/Source/WebCore/accessibility/AccessibilityObject.h        2015-09-12 08:45:51 UTC (rev 189650)
</span><span class="lines">@@ -660,8 +660,8 @@
</span><span class="cx">     virtual bool isDescendantOfBarrenParent() const { return false; }
</span><span class="cx">     
</span><span class="cx">     // Text selection
</span><del>-    PassRefPtr&lt;Range&gt; rangeOfStringClosestToRangeInDirection(Range*, AccessibilitySearchDirection, Vector&lt;String&gt;&amp;) const;
-    PassRefPtr&lt;Range&gt; selectionRange() const;
</del><ins>+    RefPtr&lt;Range&gt; rangeOfStringClosestToRangeInDirection(Range*, AccessibilitySearchDirection, Vector&lt;String&gt;&amp;) const;
+    RefPtr&lt;Range&gt; selectionRange() const;
</ins><span class="cx">     String selectText(AccessibilitySelectTextCriteria*);
</span><span class="cx">     
</span><span class="cx">     virtual AccessibilityObject* observableObject() const { return nullptr; }
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityiosAXObjectCacheIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm (189649 => 189650)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm        2015-09-12 06:02:18 UTC (rev 189649)
+++ trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm        2015-09-12 08:45:51 UTC (rev 189650)
</span><span class="lines">@@ -32,7 +32,6 @@
</span><span class="cx"> #import &quot;WebAccessibilityObjectWrapperIOS.h&quot;
</span><span class="cx"> #import &quot;RenderObject.h&quot;
</span><span class="cx"> 
</span><del>-#import &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #import &lt;wtf/RetainPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityiosWebAccessibilityObjectWrapperIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm (189649 => 189650)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm        2015-09-12 06:02:18 UTC (rev 189649)
+++ trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm        2015-09-12 08:45:51 UTC (rev 189650)
</span><span class="lines">@@ -1988,7 +1988,7 @@
</span><span class="cx">     return NSMakeRange(startPosition, endPosition - startPosition);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-- (PassRefPtr&lt;Range&gt;)_convertToDOMRange:(NSRange)nsrange
</del><ins>+- (RefPtr&lt;Range&gt;)_convertToDOMRange:(NSRange)nsrange
</ins><span class="cx"> {
</span><span class="cx">     if (nsrange.location &gt; INT_MAX)
</span><span class="cx">         return nullptr;
</span><span class="lines">@@ -2096,7 +2096,7 @@
</span><span class="cx">     if (![self _prepareAccessibilityCall])
</span><span class="cx">         return nil;
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;Range&gt; range = [self _convertToDOMRange:NSMakeRange(position, 0)];
</del><ins>+    RefPtr&lt;Range&gt; range = [self _convertToDOMRange:NSMakeRange(position, 0)];
</ins><span class="cx">     if (!range)
</span><span class="cx">         return nil;
</span><span class="cx">     
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilitymacAXObjectCacheMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm (189649 => 189650)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm        2015-09-12 06:02:18 UTC (rev 189649)
+++ trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm        2015-09-12 08:45:51 UTC (rev 189650)
</span><span class="lines">@@ -34,8 +34,6 @@
</span><span class="cx"> #import &quot;WebAccessibilityObjectWrapperMac.h&quot;
</span><span class="cx"> #import &quot;WebCoreSystemInterface.h&quot;
</span><span class="cx"> 
</span><del>-#import &lt;wtf/PassRefPtr.h&gt;
-
</del><span class="cx"> #ifndef NSAccessibilityLiveRegionChangedNotification
</span><span class="cx"> #define NSAccessibilityLiveRegionChangedNotification @&quot;AXLiveRegionChanged&quot;
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilitymacWebAccessibilityObjectWrapperMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm (189649 => 189650)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm        2015-09-12 06:02:18 UTC (rev 189649)
+++ trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm        2015-09-12 08:45:51 UTC (rev 189650)
</span><span class="lines">@@ -3607,7 +3607,7 @@
</span><span class="cx">     if (!document)
</span><span class="cx">         return nil;
</span><span class="cx">     
</span><del>-    PassRefPtr&lt;Range&gt; textRange = TextIterator::rangeFromLocationAndLength(document-&gt;documentElement(), textIndex, 0);
</del><ins>+    RefPtr&lt;Range&gt; textRange = TextIterator::rangeFromLocationAndLength(document-&gt;documentElement(), textIndex, 0);
</ins><span class="cx">     if (!textRange || !textRange-&gt;boundaryPointsValid())
</span><span class="cx">         return nil;
</span><span class="cx">     
</span></span></pre></div>
<a id="trunkSourceWebCorefileapiFileListh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/fileapi/FileList.h (189649 => 189650)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/fileapi/FileList.h        2015-09-12 06:02:18 UTC (rev 189649)
+++ trunk/Source/WebCore/fileapi/FileList.h        2015-09-12 08:45:51 UTC (rev 189650)
</span><span class="lines">@@ -28,7 +28,6 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;File.h&quot;
</span><span class="cx"> #include &quot;ScriptWrappable.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="lines">@@ -62,7 +61,7 @@
</span><span class="cx">     // FileLists can only be changed by their owners.
</span><span class="cx">     friend class DataTransfer;
</span><span class="cx">     friend class FileInputType;
</span><del>-    void append(PassRefPtr&lt;File&gt; file) { m_files.append(file); }
</del><ins>+    void append(RefPtr&lt;File&gt;&amp;&amp; file) { m_files.append(WTF::move(file)); }
</ins><span class="cx">     void clear() { m_files.clear(); }
</span><span class="cx"> 
</span><span class="cx">     Vector&lt;RefPtr&lt;File&gt;&gt; m_files;
</span></span></pre></div>
<a id="trunkSourceWebCorefileapiWebKitBlobBuildercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/fileapi/WebKitBlobBuilder.cpp (189649 => 189650)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/fileapi/WebKitBlobBuilder.cpp        2015-09-12 06:02:18 UTC (rev 189649)
+++ trunk/Source/WebCore/fileapi/WebKitBlobBuilder.cpp        2015-09-12 08:45:51 UTC (rev 189650)
</span><span class="lines">@@ -39,7 +39,6 @@
</span><span class="cx"> #include &quot;TextEncoding.h&quot;
</span><span class="cx"> #include &lt;runtime/ArrayBuffer.h&gt;
</span><span class="cx"> #include &lt;runtime/ArrayBufferView.h&gt;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="cx"> #include &lt;wtf/text/AtomicString.h&gt;
</span><span class="cx"> #include &lt;wtf/text/CString.h&gt;
</span><span class="lines">@@ -77,7 +76,7 @@
</span><span class="cx">     m_appendableData.append(static_cast&lt;const char*&gt;(arrayBuffer-&gt;data()), arrayBuffer-&gt;byteLength());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void BlobBuilder::append(PassRefPtr&lt;ArrayBufferView&gt; arrayBufferView)
</del><ins>+void BlobBuilder::append(RefPtr&lt;ArrayBufferView&gt;&amp;&amp; arrayBufferView)
</ins><span class="cx"> {
</span><span class="cx">     if (!arrayBufferView)
</span><span class="cx">         return;
</span></span></pre></div>
<a id="trunkSourceWebCorefileapiWebKitBlobBuilderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/fileapi/WebKitBlobBuilder.h (189649 => 189650)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/fileapi/WebKitBlobBuilder.h        2015-09-12 06:02:18 UTC (rev 189649)
+++ trunk/Source/WebCore/fileapi/WebKitBlobBuilder.h        2015-09-12 08:45:51 UTC (rev 189650)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx">     void append(Blob*);
</span><span class="cx">     void append(const String&amp; text, const String&amp; ending);
</span><span class="cx">     void append(JSC::ArrayBuffer*);
</span><del>-    void append(PassRefPtr&lt;JSC::ArrayBufferView&gt;);
</del><ins>+    void append(RefPtr&lt;JSC::ArrayBufferView&gt;&amp;&amp;);
</ins><span class="cx"> 
</span><span class="cx">     Vector&lt;BlobPart&gt; finalize();
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>