<!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>[189905] 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/189905">189905</a></dd>
<dt>Author</dt> <dd>gyuyoung.kim@webkit.org</dd>
<dt>Date</dt> <dd>2015-09-16 22:40:02 -0700 (Wed, 16 Sep 2015)</dd>
</dl>

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

Reviewed by Darin Adler.

* inspector/DOMEditor.cpp:
(WebCore::DOMEditor::InsertBeforeAction::InsertBeforeAction):
(WebCore::DOMEditor::ReplaceChildNodeAction::ReplaceChildNodeAction):
(WebCore::DOMEditor::insertBefore):
(WebCore::DOMEditor::replaceChild):
* inspector/DOMEditor.h:
* inspector/DOMPatchSupport.cpp:
(WebCore::DOMPatchSupport::removeChildAndMoveToNew):
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::highlightSelector):
* inspector/InspectorDatabaseAgent.cpp:
(WebCore::InspectorDatabaseAgent::didOpenDatabase):
* inspector/InspectorDatabaseAgent.h:
* inspector/InspectorDatabaseInstrumentation.h:
* inspector/InspectorDatabaseResource.h:
(WebCore::InspectorDatabaseResource::setDatabase):
* inspector/InspectorFrontendHost.cpp:
(WebCore::FrontendMenuProvider::create):
* inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::didOpenDatabaseImpl):
* inspector/InspectorLayerTreeAgent.h:
* inspector/InspectorOverlay.cpp:
(WebCore::InspectorOverlay::highlightNodeList):
* inspector/InspectorOverlay.h:
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::sharedBufferContent):
* inspector/InspectorPageAgent.h:
* inspector/InspectorResourceAgent.cpp:
* inspector/InspectorTimelineAgent.cpp:
(WebCore::startProfiling):
(WebCore::stopProfiling):
(WebCore::InspectorTimelineAgent::stopFromConsole):
* inspector/InspectorTimelineAgent.h:
* inspector/InspectorWorkerResource.h:
(WebCore::InspectorWorkerResource::create):
* inspector/InstrumentingAgents.h:
* inspector/NetworkResourcesData.cpp:
(WebCore::createOtherResourceTextDecoder):
(WebCore::NetworkResourcesData::addResourceSharedBuffer):
* inspector/NetworkResourcesData.h:
* inspector/TimelineRecordFactory.cpp:
(WebCore::createQuad):
* inspector/WebInjectedScriptHost.h:
* inspector/WebInjectedScriptManager.cpp:
(WebCore::WebInjectedScriptManager::WebInjectedScriptManager):
* inspector/WebInjectedScriptManager.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreinspectorDOMEditorcpp">trunk/Source/WebCore/inspector/DOMEditor.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorDOMEditorh">trunk/Source/WebCore/inspector/DOMEditor.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorDOMPatchSupportcpp">trunk/Source/WebCore/inspector/DOMPatchSupport.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorDOMAgentcpp">trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorDatabaseAgentcpp">trunk/Source/WebCore/inspector/InspectorDatabaseAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorDatabaseAgenth">trunk/Source/WebCore/inspector/InspectorDatabaseAgent.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorDatabaseInstrumentationh">trunk/Source/WebCore/inspector/InspectorDatabaseInstrumentation.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorDatabaseResourceh">trunk/Source/WebCore/inspector/InspectorDatabaseResource.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorFrontendHostcpp">trunk/Source/WebCore/inspector/InspectorFrontendHost.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorInstrumentationcpp">trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorLayerTreeAgenth">trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorOverlaycpp">trunk/Source/WebCore/inspector/InspectorOverlay.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorOverlayh">trunk/Source/WebCore/inspector/InspectorOverlay.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorPageAgentcpp">trunk/Source/WebCore/inspector/InspectorPageAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorPageAgenth">trunk/Source/WebCore/inspector/InspectorPageAgent.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorResourceAgentcpp">trunk/Source/WebCore/inspector/InspectorResourceAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorTimelineAgentcpp">trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorTimelineAgenth">trunk/Source/WebCore/inspector/InspectorTimelineAgent.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorWorkerResourceh">trunk/Source/WebCore/inspector/InspectorWorkerResource.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInstrumentingAgentsh">trunk/Source/WebCore/inspector/InstrumentingAgents.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorNetworkResourcesDatacpp">trunk/Source/WebCore/inspector/NetworkResourcesData.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorNetworkResourcesDatah">trunk/Source/WebCore/inspector/NetworkResourcesData.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorTimelineRecordFactorycpp">trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorWebInjectedScriptHosth">trunk/Source/WebCore/inspector/WebInjectedScriptHost.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorWebInjectedScriptManagercpp">trunk/Source/WebCore/inspector/WebInjectedScriptManager.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorWebInjectedScriptManagerh">trunk/Source/WebCore/inspector/WebInjectedScriptManager.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/ChangeLog        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -1,3 +1,57 @@
</span><ins>+2015-09-16  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
+
+        Remove all uses of PassRefPtr in WebCore/inspector
+        https://bugs.webkit.org/show_bug.cgi?id=149156
+
+        Reviewed by Darin Adler.
+
+        * inspector/DOMEditor.cpp:
+        (WebCore::DOMEditor::InsertBeforeAction::InsertBeforeAction):
+        (WebCore::DOMEditor::ReplaceChildNodeAction::ReplaceChildNodeAction):
+        (WebCore::DOMEditor::insertBefore):
+        (WebCore::DOMEditor::replaceChild):
+        * inspector/DOMEditor.h:
+        * inspector/DOMPatchSupport.cpp:
+        (WebCore::DOMPatchSupport::removeChildAndMoveToNew):
+        * inspector/InspectorDOMAgent.cpp:
+        (WebCore::InspectorDOMAgent::highlightSelector):
+        * inspector/InspectorDatabaseAgent.cpp:
+        (WebCore::InspectorDatabaseAgent::didOpenDatabase):
+        * inspector/InspectorDatabaseAgent.h:
+        * inspector/InspectorDatabaseInstrumentation.h:
+        * inspector/InspectorDatabaseResource.h:
+        (WebCore::InspectorDatabaseResource::setDatabase):
+        * inspector/InspectorFrontendHost.cpp:
+        (WebCore::FrontendMenuProvider::create):
+        * inspector/InspectorInstrumentation.cpp:
+        (WebCore::InspectorInstrumentation::didOpenDatabaseImpl):
+        * inspector/InspectorLayerTreeAgent.h:
+        * inspector/InspectorOverlay.cpp:
+        (WebCore::InspectorOverlay::highlightNodeList):
+        * inspector/InspectorOverlay.h:
+        * inspector/InspectorPageAgent.cpp:
+        (WebCore::InspectorPageAgent::sharedBufferContent):
+        * inspector/InspectorPageAgent.h:
+        * inspector/InspectorResourceAgent.cpp:
+        * inspector/InspectorTimelineAgent.cpp:
+        (WebCore::startProfiling):
+        (WebCore::stopProfiling):
+        (WebCore::InspectorTimelineAgent::stopFromConsole):
+        * inspector/InspectorTimelineAgent.h:
+        * inspector/InspectorWorkerResource.h:
+        (WebCore::InspectorWorkerResource::create):
+        * inspector/InstrumentingAgents.h:
+        * inspector/NetworkResourcesData.cpp:
+        (WebCore::createOtherResourceTextDecoder):
+        (WebCore::NetworkResourcesData::addResourceSharedBuffer):
+        * inspector/NetworkResourcesData.h:
+        * inspector/TimelineRecordFactory.cpp:
+        (WebCore::createQuad):
+        * inspector/WebInjectedScriptHost.h:
+        * inspector/WebInjectedScriptManager.cpp:
+        (WebCore::WebInjectedScriptManager::WebInjectedScriptManager):
+        * inspector/WebInjectedScriptManager.h:
+
</ins><span class="cx"> 2015-09-16  Brady Eidson  &lt;beidson@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Have window.indexedDB.open return an IDBOpenDBRequest.
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorDOMEditorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/DOMEditor.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/DOMEditor.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/DOMEditor.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -79,10 +79,10 @@
</span><span class="cx"> class DOMEditor::InsertBeforeAction : public InspectorHistory::Action {
</span><span class="cx">     WTF_MAKE_NONCOPYABLE(InsertBeforeAction);
</span><span class="cx"> public:
</span><del>-    InsertBeforeAction(Node* parentNode, PassRefPtr&lt;Node&gt; node, Node* anchorNode)
</del><ins>+    InsertBeforeAction(Node* parentNode, RefPtr&lt;Node&gt;&amp;&amp; node, Node* anchorNode)
</ins><span class="cx">         : InspectorHistory::Action(&quot;InsertBefore&quot;)
</span><span class="cx">         , m_parentNode(parentNode)
</span><del>-        , m_node(node)
</del><ins>+        , m_node(WTF::move(node))
</ins><span class="cx">         , m_anchorNode(anchorNode)
</span><span class="cx">     {
</span><span class="cx">     }
</span><span class="lines">@@ -281,10 +281,10 @@
</span><span class="cx"> class DOMEditor::ReplaceChildNodeAction : public InspectorHistory::Action {
</span><span class="cx">     WTF_MAKE_NONCOPYABLE(ReplaceChildNodeAction);
</span><span class="cx"> public:
</span><del>-    ReplaceChildNodeAction(Node* parentNode, PassRefPtr&lt;Node&gt; newNode, Node* oldNode)
</del><ins>+    ReplaceChildNodeAction(Node* parentNode, RefPtr&lt;Node&gt;&amp;&amp; newNode, Node* oldNode)
</ins><span class="cx">         : InspectorHistory::Action(&quot;ReplaceChildNode&quot;)
</span><span class="cx">         , m_parentNode(parentNode)
</span><del>-        , m_newNode(newNode)
</del><ins>+        , m_newNode(WTF::move(newNode))
</ins><span class="cx">         , m_oldNode(oldNode)
</span><span class="cx">     {
</span><span class="cx">     }
</span><span class="lines">@@ -348,9 +348,9 @@
</span><span class="cx"> 
</span><span class="cx"> DOMEditor::~DOMEditor() { }
</span><span class="cx"> 
</span><del>-bool DOMEditor::insertBefore(Node* parentNode, PassRefPtr&lt;Node&gt; node, Node* anchorNode, ExceptionCode&amp; ec)
</del><ins>+bool DOMEditor::insertBefore(Node* parentNode, RefPtr&lt;Node&gt;&amp;&amp; node, Node* anchorNode, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><del>-    return m_history-&gt;perform(std::make_unique&lt;InsertBeforeAction&gt;(parentNode, node, anchorNode), ec);
</del><ins>+    return m_history-&gt;perform(std::make_unique&lt;InsertBeforeAction&gt;(parentNode, WTF::move(node), anchorNode), ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool DOMEditor::removeChild(Node* parentNode, Node* node, ExceptionCode&amp; ec)
</span><span class="lines">@@ -383,9 +383,9 @@
</span><span class="cx">     return m_history-&gt;perform(std::make_unique&lt;ReplaceWholeTextAction&gt;(textNode, text), ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool DOMEditor::replaceChild(Node* parentNode, PassRefPtr&lt;Node&gt; newNode, Node* oldNode, ExceptionCode&amp; ec)
</del><ins>+bool DOMEditor::replaceChild(Node* parentNode, RefPtr&lt;Node&gt;&amp;&amp; newNode, Node* oldNode, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><del>-    return m_history-&gt;perform(std::make_unique&lt;ReplaceChildNodeAction&gt;(parentNode, newNode, oldNode), ec);
</del><ins>+    return m_history-&gt;perform(std::make_unique&lt;ReplaceChildNodeAction&gt;(parentNode, WTF::move(newNode), oldNode), ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool DOMEditor::setNodeValue(Node* node, const String&amp; value, ExceptionCode&amp; ec)
</span><span class="lines">@@ -401,10 +401,10 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool DOMEditor::insertBefore(Node* parentNode, PassRefPtr&lt;Node&gt; node, Node* anchorNode, ErrorString&amp; errorString)
</del><ins>+bool DOMEditor::insertBefore(Node* parentNode, RefPtr&lt;Node&gt;&amp;&amp; node, Node* anchorNode, ErrorString&amp; errorString)
</ins><span class="cx"> {
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    bool result = insertBefore(parentNode, node, anchorNode, ec);
</del><ins>+    bool result = insertBefore(parentNode, WTF::move(node), anchorNode, ec);
</ins><span class="cx">     populateErrorString(ec, errorString);
</span><span class="cx">     return result;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorDOMEditorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/DOMEditor.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/DOMEditor.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/DOMEditor.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -50,16 +50,16 @@
</span><span class="cx">     explicit DOMEditor(InspectorHistory*);
</span><span class="cx">     ~DOMEditor();
</span><span class="cx"> 
</span><del>-    bool insertBefore(Node* parentNode, PassRefPtr&lt;Node&gt;, Node* anchorNode, ExceptionCode&amp;);
</del><ins>+    bool insertBefore(Node* parentNode, RefPtr&lt;Node&gt;&amp;&amp;, Node* anchorNode, ExceptionCode&amp;);
</ins><span class="cx">     bool removeChild(Node* parentNode, Node*, ExceptionCode&amp;);
</span><span class="cx">     bool setAttribute(Element*, const String&amp; name, const String&amp; value, ExceptionCode&amp;);
</span><span class="cx">     bool removeAttribute(Element*, const String&amp; name, ExceptionCode&amp;);
</span><span class="cx">     bool setOuterHTML(Node&amp;, const String&amp; html, Node** newNode, ExceptionCode&amp;);
</span><span class="cx">     bool replaceWholeText(Text*, const String&amp; text, ExceptionCode&amp;);
</span><del>-    bool replaceChild(Node* parentNode, PassRefPtr&lt;Node&gt; newNode, Node* oldNode, ExceptionCode&amp;);
</del><ins>+    bool replaceChild(Node* parentNode, RefPtr&lt;Node&gt;&amp;&amp; newNode, Node* oldNode, ExceptionCode&amp;);
</ins><span class="cx">     bool setNodeValue(Node* parentNode, const String&amp; value, ExceptionCode&amp;);
</span><span class="cx"> 
</span><del>-    bool insertBefore(Node* parentNode, PassRefPtr&lt;Node&gt;, Node* anchorNode, ErrorString&amp;);
</del><ins>+    bool insertBefore(Node* parentNode, RefPtr&lt;Node&gt;&amp;&amp;, Node* anchorNode, ErrorString&amp;);
</ins><span class="cx">     bool removeChild(Node* parentNode, Node*, ErrorString&amp;);
</span><span class="cx">     bool setAttribute(Element*, const String&amp; name, const String&amp; value, ErrorString&amp;);
</span><span class="cx">     bool removeAttribute(Element*, const String&amp; name, ErrorString&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorDOMPatchSupportcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/DOMPatchSupport.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/DOMPatchSupport.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/DOMPatchSupport.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -468,7 +468,7 @@
</span><span class="cx">     if (it != m_unusedNodesMap.end()) {
</span><span class="cx">         Digest* newDigest = it-&gt;value;
</span><span class="cx">         Node* newNode = newDigest-&gt;m_node;
</span><del>-        if (!m_domEditor-&gt;replaceChild(newNode-&gt;parentNode(), oldNode, newNode, ec))
</del><ins>+        if (!m_domEditor-&gt;replaceChild(newNode-&gt;parentNode(), WTF::move(oldNode), newNode, ec))
</ins><span class="cx">             return false;
</span><span class="cx">         newDigest-&gt;m_node = oldNode.get();
</span><span class="cx">         markNodeAsUsed(newDigest);
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorDOMAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -1112,7 +1112,7 @@
</span><span class="cx">     if (!highlightConfig)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    m_overlay-&gt;highlightNodeList(nodes, *highlightConfig);
</del><ins>+    m_overlay-&gt;highlightNodeList(WTF::move(nodes), *highlightConfig);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void InspectorDOMAgent::highlightNode(ErrorString&amp; errorString, const InspectorObject&amp; highlightInspectorObject, const int* nodeId, const String* objectId)
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorDatabaseAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorDatabaseAgent.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorDatabaseAgent.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorDatabaseAgent.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -193,14 +193,14 @@
</span><span class="cx"> 
</span><span class="cx"> } // namespace
</span><span class="cx"> 
</span><del>-void InspectorDatabaseAgent::didOpenDatabase(PassRefPtr&lt;Database&gt; database, const String&amp; domain, const String&amp; name, const String&amp; version)
</del><ins>+void InspectorDatabaseAgent::didOpenDatabase(RefPtr&lt;Database&gt;&amp;&amp; database, const String&amp; domain, const String&amp; name, const String&amp; version)
</ins><span class="cx"> {
</span><span class="cx">     if (InspectorDatabaseResource* resource = findByFileName(database-&gt;fileName())) {
</span><del>-        resource-&gt;setDatabase(database);
</del><ins>+        resource-&gt;setDatabase(WTF::move(database));
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RefPtr&lt;InspectorDatabaseResource&gt; resource = InspectorDatabaseResource::create(database, domain, name, version);
</del><ins>+    RefPtr&lt;InspectorDatabaseResource&gt; resource = InspectorDatabaseResource::create(WTF::move(database), domain, name, version);
</ins><span class="cx">     m_resources.set(resource-&gt;id(), resource);
</span><span class="cx">     // Resources are only bound while visible.
</span><span class="cx">     if (m_enabled)
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorDatabaseAgenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorDatabaseAgent.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorDatabaseAgent.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorDatabaseAgent.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -67,7 +67,7 @@
</span><span class="cx">     // Called from the injected script.
</span><span class="cx">     String databaseId(Database*);
</span><span class="cx"> 
</span><del>-    void didOpenDatabase(PassRefPtr&lt;Database&gt;, const String&amp; domain, const String&amp; name, const String&amp; version);
</del><ins>+    void didOpenDatabase(RefPtr&lt;Database&gt;&amp;&amp;, const String&amp; domain, const String&amp; name, const String&amp; version);
</ins><span class="cx"> private:
</span><span class="cx">     Database* databaseForId(const String&amp; databaseId);
</span><span class="cx">     InspectorDatabaseResource* findByFileName(const String&amp; fileName);
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorDatabaseInstrumentationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorDatabaseInstrumentation.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorDatabaseInstrumentation.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorDatabaseInstrumentation.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;Database.h&quot;
</span><span class="cx"> #include &quot;InspectorInstrumentation.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorDatabaseResourceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorDatabaseResource.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorDatabaseResource.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorDatabaseResource.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> 
</span><span class="cx">     void bind(Inspector::DatabaseFrontendDispatcher*);
</span><span class="cx">     Database* database() { return m_database.get(); }
</span><del>-    void setDatabase(RefPtr&lt;Database&gt;&amp;&amp; database) { m_database = database; }
</del><ins>+    void setDatabase(RefPtr&lt;Database&gt;&amp;&amp; database) { m_database = WTF::move(database); }
</ins><span class="cx">     String id() const { return m_id; }
</span><span class="cx"> 
</span><span class="cx"> private:
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorFrontendHostcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorFrontendHost.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorFrontendHost.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorFrontendHost.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -59,9 +59,9 @@
</span><span class="cx"> #if ENABLE(CONTEXT_MENUS)
</span><span class="cx"> class FrontendMenuProvider : public ContextMenuProvider {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;FrontendMenuProvider&gt; create(InspectorFrontendHost* frontendHost, Deprecated::ScriptObject frontendApiObject, const Vector&lt;ContextMenuItem&gt;&amp; items)
</del><ins>+    static Ref&lt;FrontendMenuProvider&gt; create(InspectorFrontendHost* frontendHost, Deprecated::ScriptObject frontendApiObject, const Vector&lt;ContextMenuItem&gt;&amp; items)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new FrontendMenuProvider(frontendHost, frontendApiObject, items));
</del><ins>+        return adoptRef(*new FrontendMenuProvider(frontendHost, frontendApiObject, items));
</ins><span class="cx">     }
</span><span class="cx">     
</span><span class="cx">     void disconnect()
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorInstrumentationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -973,7 +973,7 @@
</span><span class="cx">     if (!instrumentingAgents.inspectorEnvironment().developerExtrasEnabled())
</span><span class="cx">         return;
</span><span class="cx">     if (InspectorDatabaseAgent* dbAgent = instrumentingAgents.inspectorDatabaseAgent())
</span><del>-        dbAgent-&gt;didOpenDatabase(database, domain, name, version);
</del><ins>+        dbAgent-&gt;didOpenDatabase(WTF::move(database), domain, name, version);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void InspectorInstrumentation::didDispatchDOMStorageEventImpl(InstrumentingAgents&amp; instrumentingAgents, const String&amp; key, const String&amp; oldValue, const String&amp; newValue, StorageType storageType, SecurityOrigin* securityOrigin, Page* page)
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorLayerTreeAgenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -34,7 +34,6 @@
</span><span class="cx"> #include &lt;inspector/InspectorFrontendDispatchers.h&gt;
</span><span class="cx"> #include &lt;inspector/InspectorProtocolObjects.h&gt;
</span><span class="cx"> #include &quot;RenderLayer.h&quot;
</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/WTFString.h&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorOverlaycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorOverlay.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorOverlay.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorOverlay.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -259,10 +259,10 @@
</span><span class="cx">     update();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void InspectorOverlay::highlightNodeList(PassRefPtr&lt;NodeList&gt; nodes, const HighlightConfig&amp; highlightConfig)
</del><ins>+void InspectorOverlay::highlightNodeList(RefPtr&lt;NodeList&gt;&amp;&amp; nodes, const HighlightConfig&amp; highlightConfig)
</ins><span class="cx"> {
</span><span class="cx">     m_nodeHighlightConfig = highlightConfig;
</span><del>-    m_highlightNodeList = nodes;
</del><ins>+    m_highlightNodeList = WTF::move(nodes);
</ins><span class="cx">     m_highlightNode = nullptr;
</span><span class="cx">     update();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorOverlayh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorOverlay.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorOverlay.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorOverlay.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -120,7 +120,7 @@
</span><span class="cx">     void setPausedInDebuggerMessage(const String*);
</span><span class="cx"> 
</span><span class="cx">     void hideHighlight();
</span><del>-    void highlightNodeList(PassRefPtr&lt;NodeList&gt;, const HighlightConfig&amp;);
</del><ins>+    void highlightNodeList(RefPtr&lt;NodeList&gt;&amp;&amp;, const HighlightConfig&amp;);
</ins><span class="cx">     void highlightNode(Node*, const HighlightConfig&amp;);
</span><span class="cx">     void highlightQuad(std::unique_ptr&lt;FloatQuad&gt;, const HighlightConfig&amp;);
</span><span class="cx">     
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorPageAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorPageAgent.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorPageAgent.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorPageAgent.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -191,7 +191,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // static
</span><del>-bool InspectorPageAgent::sharedBufferContent(PassRefPtr&lt;SharedBuffer&gt; buffer, const String&amp; textEncodingName, bool withBase64Encode, String* result)
</del><ins>+bool InspectorPageAgent::sharedBufferContent(RefPtr&lt;SharedBuffer&gt;&amp;&amp; buffer, const String&amp; textEncodingName, bool withBase64Encode, String* result)
</ins><span class="cx"> {
</span><span class="cx">     return dataContent(buffer ? buffer-&gt;data() : nullptr, buffer ? buffer-&gt;size() : 0, textEncodingName, withBase64Encode, result);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorPageAgenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorPageAgent.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorPageAgent.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorPageAgent.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -83,7 +83,7 @@
</span><span class="cx">     };
</span><span class="cx"> 
</span><span class="cx">     static bool cachedResourceContent(CachedResource*, String* result, bool* base64Encoded);
</span><del>-    static bool sharedBufferContent(PassRefPtr&lt;SharedBuffer&gt;, const String&amp; textEncodingName, bool withBase64Encode, String* result);
</del><ins>+    static bool sharedBufferContent(RefPtr&lt;SharedBuffer&gt;&amp;&amp;, const String&amp; textEncodingName, bool withBase64Encode, String* result);
</ins><span class="cx">     static void resourceContent(ErrorString&amp;, Frame*, const URL&amp;, String* result, bool* base64Encoded);
</span><span class="cx">     static String sourceMapURLForResource(CachedResource*);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorResourceAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorResourceAgent.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorResourceAgent.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorResourceAgent.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -81,8 +81,8 @@
</span><span class="cx"> class InspectorThreadableLoaderClient final : public ThreadableLoaderClient {
</span><span class="cx">     WTF_MAKE_NONCOPYABLE(InspectorThreadableLoaderClient);
</span><span class="cx"> public:
</span><del>-    InspectorThreadableLoaderClient(PassRefPtr&lt;LoadResourceCallback&gt; callback)
-        : m_callback(callback) { }
</del><ins>+    InspectorThreadableLoaderClient(RefPtr&lt;LoadResourceCallback&gt;&amp;&amp; callback)
+        : m_callback(WTF::move(callback)) { }
</ins><span class="cx"> 
</span><span class="cx">     virtual ~InspectorThreadableLoaderClient() { }
</span><span class="cx"> 
</span><span class="lines">@@ -140,9 +140,9 @@
</span><span class="cx">         dispose();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    void setLoader(PassRefPtr&lt;ThreadableLoader&gt; loader)
</del><ins>+    void setLoader(RefPtr&lt;ThreadableLoader&gt;&amp;&amp; loader)
</ins><span class="cx">     {
</span><del>-        m_loader = loader;
</del><ins>+        m_loader = WTF::move(loader);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx"> private:
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorTimelineAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -223,19 +223,19 @@
</span><span class="cx">     m_scriptDebugServer = scriptDebugServer;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static inline void startProfiling(JSC::ExecState* exec, const String&amp; title, PassRefPtr&lt;Stopwatch&gt; stopwatch)
</del><ins>+static inline void startProfiling(JSC::ExecState* exec, const String&amp; title, RefPtr&lt;Stopwatch&gt;&amp;&amp; stopwatch)
</ins><span class="cx"> {
</span><del>-    JSC::LegacyProfiler::profiler()-&gt;startProfiling(exec, title, stopwatch);
</del><ins>+    JSC::LegacyProfiler::profiler()-&gt;startProfiling(exec, title, WTF::move(stopwatch));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-static inline PassRefPtr&lt;JSC::Profile&gt; stopProfiling(JSC::ExecState* exec, const String&amp; title)
</del><ins>+static inline RefPtr&lt;JSC::Profile&gt; stopProfiling(JSC::ExecState* exec, const String&amp; title)
</ins><span class="cx"> {
</span><span class="cx">     return JSC::LegacyProfiler::profiler()-&gt;stopProfiling(exec, title);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static inline void startProfiling(Frame* frame, const String&amp; title, PassRefPtr&lt;Stopwatch&gt; stopwatch)
</del><ins>+static inline void startProfiling(Frame* frame, const String&amp; title, RefPtr&lt;Stopwatch&gt;&amp;&amp; stopwatch)
</ins><span class="cx"> {
</span><del>-    startProfiling(toJSDOMWindow(frame, debuggerWorld())-&gt;globalExec(), title, stopwatch);
</del><ins>+    startProfiling(toJSDOMWindow(frame, debuggerWorld())-&gt;globalExec(), title, WTF::move(stopwatch));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> static inline PassRefPtr&lt;JSC::Profile&gt; stopProfiling(Frame* frame, const String&amp; title)
</span><span class="lines">@@ -264,7 +264,7 @@
</span><span class="cx">     m_pendingConsoleProfileRecords.append(createRecordEntry(TimelineRecordFactory::createConsoleProfileData(title), TimelineRecordType::ConsoleProfile, true, frameFromExecState(exec)));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;JSC::Profile&gt; InspectorTimelineAgent::stopFromConsole(JSC::ExecState* exec, const String&amp; title)
</del><ins>+RefPtr&lt;JSC::Profile&gt; InspectorTimelineAgent::stopFromConsole(JSC::ExecState* exec, const String&amp; title)
</ins><span class="cx"> {
</span><span class="cx">     // Stop profiles in reverse order. If the title is empty, then stop the last profile.
</span><span class="cx">     // Otherwise, match the title of the profile to stop.
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorTimelineAgenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorTimelineAgent.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorTimelineAgent.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorTimelineAgent.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -134,7 +134,7 @@
</span><span class="cx"> 
</span><span class="cx">     // Methods called from WebCore.
</span><span class="cx">     void startFromConsole(JSC::ExecState*, const String &amp;title);
</span><del>-    PassRefPtr&lt;JSC::Profile&gt; stopFromConsole(JSC::ExecState*, const String&amp; title);
</del><ins>+    RefPtr&lt;JSC::Profile&gt; stopFromConsole(JSC::ExecState*, const String&amp; title);
</ins><span class="cx"> 
</span><span class="cx">     // InspectorInstrumentation callbacks.
</span><span class="cx">     void didInstallTimer(int timerId, int timeout, bool singleShot, Frame*);
</span><span class="lines">@@ -198,8 +198,11 @@
</span><span class="cx">     struct TimelineRecordEntry {
</span><span class="cx">         TimelineRecordEntry()
</span><span class="cx">             : type(TimelineRecordType::EventDispatch) { }
</span><del>-        TimelineRecordEntry(PassRefPtr&lt;Inspector::InspectorObject&gt; record, PassRefPtr&lt;Inspector::InspectorObject&gt; data, PassRefPtr&lt;Inspector::InspectorArray&gt; children, TimelineRecordType type)
-            : record(record), data(data), children(children), type(type)
</del><ins>+        TimelineRecordEntry(RefPtr&lt;Inspector::InspectorObject&gt;&amp;&amp; record, RefPtr&lt;Inspector::InspectorObject&gt;&amp;&amp; data, RefPtr&lt;Inspector::InspectorArray&gt;&amp;&amp; children, TimelineRecordType type)
+            : record(WTF::move(record))
+            , data(WTF::move(data))
+            , children(WTF::move(children))
+            , type(type)
</ins><span class="cx">         {
</span><span class="cx">         }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorWorkerResourceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorWorkerResource.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorWorkerResource.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InspectorWorkerResource.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx"> #ifndef InspectorWorkerResource_h
</span><span class="cx"> #define InspectorWorkerResource_h
</span><span class="cx"> 
</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/text/WTFString.h&gt;
</span><span class="lines">@@ -40,9 +39,9 @@
</span><span class="cx"> 
</span><span class="cx"> class InspectorWorkerResource : public RefCounted&lt;InspectorWorkerResource&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;InspectorWorkerResource&gt; create(intptr_t id, const String&amp; url, bool isSharedWorker)
</del><ins>+    static Ref&lt;InspectorWorkerResource&gt; create(intptr_t id, const String&amp; url, bool isSharedWorker)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new InspectorWorkerResource(id, url, isSharedWorker));
</del><ins>+        return adoptRef(*new InspectorWorkerResource(id, url, isSharedWorker));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     intptr_t id() const { return m_id; }
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInstrumentingAgentsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InstrumentingAgents.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InstrumentingAgents.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/InstrumentingAgents.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -35,7 +35,6 @@
</span><span class="cx"> #include &lt;inspector/InspectorEnvironment.h&gt;
</span><span class="cx"> #include &lt;wtf/FastMalloc.h&gt;
</span><span class="cx"> #include &lt;wtf/Noncopyable.h&gt;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace Inspector {
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorNetworkResourcesDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/NetworkResourcesData.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/NetworkResourcesData.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/NetworkResourcesData.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -136,7 +136,7 @@
</span><span class="cx">     m_requestIdToResourceDataMap.set(requestId, new ResourceData(requestId, loaderId));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static PassRefPtr&lt;TextResourceDecoder&gt; createOtherResourceTextDecoder(const String&amp; mimeType, const String&amp; textEncodingName)
</del><ins>+static RefPtr&lt;TextResourceDecoder&gt; createOtherResourceTextDecoder(const String&amp; mimeType, const String&amp; textEncodingName)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;TextResourceDecoder&gt; decoder;
</span><span class="cx">     if (!textEncodingName.isEmpty())
</span><span class="lines">@@ -237,12 +237,12 @@
</span><span class="cx">     resourceData-&gt;setCachedResource(cachedResource);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void NetworkResourcesData::addResourceSharedBuffer(const String&amp; requestId, PassRefPtr&lt;SharedBuffer&gt; buffer, const String&amp; textEncodingName)
</del><ins>+void NetworkResourcesData::addResourceSharedBuffer(const String&amp; requestId, RefPtr&lt;SharedBuffer&gt;&amp;&amp; buffer, const String&amp; textEncodingName)
</ins><span class="cx"> {
</span><span class="cx">     ResourceData* resourceData = resourceDataForRequestId(requestId);
</span><span class="cx">     if (!resourceData)
</span><span class="cx">         return;
</span><del>-    resourceData-&gt;setBuffer(buffer);
</del><ins>+    resourceData-&gt;setBuffer(WTF::move(buffer));
</ins><span class="cx">     resourceData-&gt;setTextEncodingName(textEncodingName);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorNetworkResourcesDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/NetworkResourcesData.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/NetworkResourcesData.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/NetworkResourcesData.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -129,7 +129,7 @@
</span><span class="cx">     void maybeAddResourceData(const String&amp; requestId, const char* data, size_t dataLength);
</span><span class="cx">     void maybeDecodeDataToContent(const String&amp; requestId);
</span><span class="cx">     void addCachedResource(const String&amp; requestId, CachedResource*);
</span><del>-    void addResourceSharedBuffer(const String&amp; requestId, PassRefPtr&lt;SharedBuffer&gt;, const String&amp; textEncodingName);
</del><ins>+    void addResourceSharedBuffer(const String&amp; requestId, RefPtr&lt;SharedBuffer&gt;&amp;&amp;, const String&amp; textEncodingName);
</ins><span class="cx">     ResourceData const* data(const String&amp; requestId);
</span><span class="cx">     Vector&lt;String&gt; removeCachedResource(CachedResource*);
</span><span class="cx">     void clear(const String&amp; preservedLoaderId = String());
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorTimelineRecordFactorycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -183,9 +183,9 @@
</span><span class="cx">     return WTF::move(data);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static PassRefPtr&lt;InspectorArray&gt; createQuad(const FloatQuad&amp; quad)
</del><ins>+static Ref&lt;InspectorArray&gt; createQuad(const FloatQuad&amp; quad)
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;InspectorArray&gt; array = InspectorArray::create();
</del><ins>+    Ref&lt;InspectorArray&gt; array = InspectorArray::create();
</ins><span class="cx">     array-&gt;pushDouble(quad.p1().x());
</span><span class="cx">     array-&gt;pushDouble(quad.p1().y());
</span><span class="cx">     array-&gt;pushDouble(quad.p2().x());
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorWebInjectedScriptHosth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/WebInjectedScriptHost.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/WebInjectedScriptHost.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/WebInjectedScriptHost.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebInjectedScriptHost final : public Inspector::InjectedScriptHost {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebInjectedScriptHost&gt; create() { return adoptRef(new WebInjectedScriptHost); }
</del><ins>+    static Ref&lt;WebInjectedScriptHost&gt; create() { return adoptRef(*new WebInjectedScriptHost); }
</ins><span class="cx"> 
</span><span class="cx">     virtual JSC::JSValue subtype(JSC::ExecState*, JSC::JSValue) override;
</span><span class="cx">     virtual bool isHTMLAllCollection(JSC::JSValue) override;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorWebInjectedScriptManagercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/WebInjectedScriptManager.cpp (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/WebInjectedScriptManager.cpp        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/WebInjectedScriptManager.cpp        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -33,8 +33,8 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-WebInjectedScriptManager::WebInjectedScriptManager(InspectorEnvironment&amp; environment, PassRefPtr&lt;InjectedScriptHost&gt; host)
-    : InjectedScriptManager(environment, host)
</del><ins>+WebInjectedScriptManager::WebInjectedScriptManager(InspectorEnvironment&amp; environment, RefPtr&lt;InjectedScriptHost&gt;&amp;&amp; host)
+    : InjectedScriptManager(environment, WTF::move(host))
</ins><span class="cx">     , m_commandLineAPIHost(CommandLineAPIHost::create())
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorWebInjectedScriptManagerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/WebInjectedScriptManager.h (189904 => 189905)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/WebInjectedScriptManager.h        2015-09-17 05:22:41 UTC (rev 189904)
+++ trunk/Source/WebCore/inspector/WebInjectedScriptManager.h        2015-09-17 05:40:02 UTC (rev 189905)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebInjectedScriptManager final : public Inspector::InjectedScriptManager {
</span><span class="cx"> public:
</span><del>-    WebInjectedScriptManager(Inspector::InspectorEnvironment&amp;, PassRefPtr&lt;Inspector::InjectedScriptHost&gt;);
</del><ins>+    WebInjectedScriptManager(Inspector::InspectorEnvironment&amp;, RefPtr&lt;Inspector::InjectedScriptHost&gt;&amp;&amp;);
</ins><span class="cx">     virtual ~WebInjectedScriptManager() { }
</span><span class="cx"> 
</span><span class="cx">     CommandLineAPIHost* commandLineAPIHost() const { return m_commandLineAPIHost.get(); }
</span></span></pre>
</div>
</div>

</body>
</html>