<!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>[190250] 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/190250">190250</a></dd>
<dt>Author</dt> <dd>beidson@apple.com</dd>
<dt>Date</dt> <dd>2015-09-25 12:46:51 -0700 (Fri, 25 Sep 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>PassRefPtr&lt;&gt; to RefPtr&lt;&gt; conversion in legacy IndexedDB code.
https://bugs.webkit.org/show_bug.cgi?id=149558

Reviewed by Beth Dakin.

No new tests (No behavior change.)

This patch does not attempt to completely remove all PassRefPtr usage inside legacy IDB.

It just switches over all PassRefPtr usage at the top level IDB interfaces that
modern IDB is implementing.

The rest of the usage inside the legacy implementation can be dealt with later via `git rm`.

* Modules/indexeddb/IDBAny.h:
* Modules/indexeddb/IDBCursor.h:
* Modules/indexeddb/IDBDatabase.h:
* Modules/indexeddb/IDBDatabaseError.h:
* Modules/indexeddb/IDBFactory.h:
* Modules/indexeddb/IDBIndex.h:
* Modules/indexeddb/IDBObjectStore.h:
* Modules/indexeddb/IDBRequest.h:
* Modules/indexeddb/IDBTransaction.h:
* Modules/indexeddb/client/IDBFactoryImpl.cpp:
(WebCore::IDBClient::IDBFactory::getDatabaseNames):
(WebCore::IDBClient::IDBFactory::open):
(WebCore::IDBClient::IDBFactory::deleteDatabase):
* Modules/indexeddb/client/IDBFactoryImpl.h:
* Modules/indexeddb/client/IDBRequestImpl.cpp:
(WebCore::IDBClient::IDBRequest::result):
(WebCore::IDBClient::IDBRequest::error):
(WebCore::IDBClient::IDBRequest::source):
(WebCore::IDBClient::IDBRequest::transaction):
* Modules/indexeddb/client/IDBRequestImpl.h:
* Modules/indexeddb/legacy/LegacyAny.cpp:
(WebCore::LegacyAny::createInvalid):
(WebCore::LegacyAny::createNull):
(WebCore::LegacyAny::createString):
(WebCore::LegacyAny::domStringList):
(WebCore::LegacyAny::idbCursor):
(WebCore::LegacyAny::idbCursorWithValue):
(WebCore::LegacyAny::idbDatabase):
(WebCore::LegacyAny::idbFactory):
(WebCore::LegacyAny::idbIndex):
(WebCore::LegacyAny::idbObjectStore):
(WebCore::LegacyAny::idbTransaction):
(WebCore::LegacyAny::LegacyAny):
* Modules/indexeddb/legacy/LegacyAny.h:
(WebCore::LegacyAny::create):
* Modules/indexeddb/legacy/LegacyCursor.cpp:
(WebCore::LegacyCursor::update):
(WebCore::LegacyCursor::deleteFunction):
* Modules/indexeddb/legacy/LegacyCursor.h:
* Modules/indexeddb/legacy/LegacyDatabase.cpp:
(WebCore::LegacyDatabase::objectStoreNames):
(WebCore::LegacyDatabase::createObjectStore):
(WebCore::LegacyDatabase::transaction):
* Modules/indexeddb/legacy/LegacyDatabase.h:
* Modules/indexeddb/legacy/LegacyFactory.cpp:
(WebCore::LegacyFactory::getDatabaseNames):
(WebCore::LegacyFactory::open):
(WebCore::LegacyFactory::deleteDatabase):
* Modules/indexeddb/legacy/LegacyFactory.h:
* Modules/indexeddb/legacy/LegacyIndex.cpp:
(WebCore::LegacyIndex::openCursor):
(WebCore::LegacyIndex::count):
(WebCore::LegacyIndex::openKeyCursor):
(WebCore::LegacyIndex::get):
(WebCore::LegacyIndex::getKey):
* Modules/indexeddb/legacy/LegacyIndex.h:
(WebCore::LegacyIndex::legacyObjectStore):
* Modules/indexeddb/legacy/LegacyObjectStore.cpp:
(WebCore::LegacyObjectStore::indexNames):
(WebCore::LegacyObjectStore::get):
(WebCore::LegacyObjectStore::add):
(WebCore::LegacyObjectStore::put):
(WebCore::LegacyObjectStore::deleteFunction):
(WebCore::LegacyObjectStore::clear):
(WebCore::LegacyObjectStore::createIndex):
(WebCore::LegacyObjectStore::index):
(WebCore::LegacyObjectStore::openCursor):
(WebCore::LegacyObjectStore::count):
* Modules/indexeddb/legacy/LegacyObjectStore.h:
(WebCore::LegacyObjectStore::keyPathAny):
(WebCore::LegacyObjectStore::transaction):
(WebCore::LegacyObjectStore::createIndex):
(WebCore::LegacyObjectStore::count):
* Modules/indexeddb/legacy/LegacyRequest.cpp:
(WebCore::LegacyRequest::result):
(WebCore::LegacyRequest::error):
(WebCore::LegacyRequest::source):
(WebCore::LegacyRequest::transaction):
(WebCore::LegacyRequest::onSuccess):
* Modules/indexeddb/legacy/LegacyRequest.h:
* Modules/indexeddb/legacy/LegacyTransaction.cpp:
(WebCore::LegacyTransaction::objectStore):
* Modules/indexeddb/legacy/LegacyTransaction.h:
* inspector/InspectorIndexedDBAgent.cpp:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBAnyh">trunk/Source/WebCore/Modules/indexeddb/IDBAny.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBCursorh">trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseh">trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseErrorh">trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseError.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBFactoryh">trunk/Source/WebCore/Modules/indexeddb/IDBFactory.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBIndexh">trunk/Source/WebCore/Modules/indexeddb/IDBIndex.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBObjectStoreh">trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBRequesth">trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBTransactionh">trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbclientIDBFactoryImplcpp">trunk/Source/WebCore/Modules/indexeddb/client/IDBFactoryImpl.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbclientIDBFactoryImplh">trunk/Source/WebCore/Modules/indexeddb/client/IDBFactoryImpl.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbclientIDBRequestImplcpp">trunk/Source/WebCore/Modules/indexeddb/client/IDBRequestImpl.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbclientIDBRequestImplh">trunk/Source/WebCore/Modules/indexeddb/client/IDBRequestImpl.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyAnycpp">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyAny.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyAnyh">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyAny.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyCursorcpp">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyCursorh">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyDatabasecpp">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyDatabase.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyDatabaseh">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyDatabase.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyFactorycpp">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyFactory.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyFactoryh">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyFactory.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyIndexcpp">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyIndex.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyIndexh">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyIndex.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyObjectStorecpp">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyObjectStoreh">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyRequestcpp">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyRequesth">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyTransactioncpp">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddblegacyLegacyTransactionh">trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorIndexedDBAgentcpp">trunk/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/ChangeLog        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -1,3 +1,104 @@
</span><ins>+2015-09-25  Brady Eidson  &lt;beidson@apple.com&gt;
+
+        PassRefPtr&lt;&gt; to RefPtr&lt;&gt; conversion in legacy IndexedDB code.
+        https://bugs.webkit.org/show_bug.cgi?id=149558
+
+        Reviewed by Beth Dakin.
+
+        No new tests (No behavior change.)
+        
+        This patch does not attempt to completely remove all PassRefPtr usage inside legacy IDB.
+
+        It just switches over all PassRefPtr usage at the top level IDB interfaces that 
+        modern IDB is implementing.
+
+        The rest of the usage inside the legacy implementation can be dealt with later via `git rm`.
+
+        * Modules/indexeddb/IDBAny.h:
+        * Modules/indexeddb/IDBCursor.h:
+        * Modules/indexeddb/IDBDatabase.h:
+        * Modules/indexeddb/IDBDatabaseError.h:
+        * Modules/indexeddb/IDBFactory.h:
+        * Modules/indexeddb/IDBIndex.h:
+        * Modules/indexeddb/IDBObjectStore.h:
+        * Modules/indexeddb/IDBRequest.h:
+        * Modules/indexeddb/IDBTransaction.h:
+        * Modules/indexeddb/client/IDBFactoryImpl.cpp:
+        (WebCore::IDBClient::IDBFactory::getDatabaseNames):
+        (WebCore::IDBClient::IDBFactory::open):
+        (WebCore::IDBClient::IDBFactory::deleteDatabase):
+        * Modules/indexeddb/client/IDBFactoryImpl.h:
+        * Modules/indexeddb/client/IDBRequestImpl.cpp:
+        (WebCore::IDBClient::IDBRequest::result):
+        (WebCore::IDBClient::IDBRequest::error):
+        (WebCore::IDBClient::IDBRequest::source):
+        (WebCore::IDBClient::IDBRequest::transaction):
+        * Modules/indexeddb/client/IDBRequestImpl.h:
+        * Modules/indexeddb/legacy/LegacyAny.cpp:
+        (WebCore::LegacyAny::createInvalid):
+        (WebCore::LegacyAny::createNull):
+        (WebCore::LegacyAny::createString):
+        (WebCore::LegacyAny::domStringList):
+        (WebCore::LegacyAny::idbCursor):
+        (WebCore::LegacyAny::idbCursorWithValue):
+        (WebCore::LegacyAny::idbDatabase):
+        (WebCore::LegacyAny::idbFactory):
+        (WebCore::LegacyAny::idbIndex):
+        (WebCore::LegacyAny::idbObjectStore):
+        (WebCore::LegacyAny::idbTransaction):
+        (WebCore::LegacyAny::LegacyAny):
+        * Modules/indexeddb/legacy/LegacyAny.h:
+        (WebCore::LegacyAny::create):
+        * Modules/indexeddb/legacy/LegacyCursor.cpp:
+        (WebCore::LegacyCursor::update):
+        (WebCore::LegacyCursor::deleteFunction):
+        * Modules/indexeddb/legacy/LegacyCursor.h:
+        * Modules/indexeddb/legacy/LegacyDatabase.cpp:
+        (WebCore::LegacyDatabase::objectStoreNames):
+        (WebCore::LegacyDatabase::createObjectStore):
+        (WebCore::LegacyDatabase::transaction):
+        * Modules/indexeddb/legacy/LegacyDatabase.h:
+        * Modules/indexeddb/legacy/LegacyFactory.cpp:
+        (WebCore::LegacyFactory::getDatabaseNames):
+        (WebCore::LegacyFactory::open):
+        (WebCore::LegacyFactory::deleteDatabase):
+        * Modules/indexeddb/legacy/LegacyFactory.h:
+        * Modules/indexeddb/legacy/LegacyIndex.cpp:
+        (WebCore::LegacyIndex::openCursor):
+        (WebCore::LegacyIndex::count):
+        (WebCore::LegacyIndex::openKeyCursor):
+        (WebCore::LegacyIndex::get):
+        (WebCore::LegacyIndex::getKey):
+        * Modules/indexeddb/legacy/LegacyIndex.h:
+        (WebCore::LegacyIndex::legacyObjectStore):
+        * Modules/indexeddb/legacy/LegacyObjectStore.cpp:
+        (WebCore::LegacyObjectStore::indexNames):
+        (WebCore::LegacyObjectStore::get):
+        (WebCore::LegacyObjectStore::add):
+        (WebCore::LegacyObjectStore::put):
+        (WebCore::LegacyObjectStore::deleteFunction):
+        (WebCore::LegacyObjectStore::clear):
+        (WebCore::LegacyObjectStore::createIndex):
+        (WebCore::LegacyObjectStore::index):
+        (WebCore::LegacyObjectStore::openCursor):
+        (WebCore::LegacyObjectStore::count):
+        * Modules/indexeddb/legacy/LegacyObjectStore.h:
+        (WebCore::LegacyObjectStore::keyPathAny):
+        (WebCore::LegacyObjectStore::transaction):
+        (WebCore::LegacyObjectStore::createIndex):
+        (WebCore::LegacyObjectStore::count):
+        * Modules/indexeddb/legacy/LegacyRequest.cpp:
+        (WebCore::LegacyRequest::result):
+        (WebCore::LegacyRequest::error):
+        (WebCore::LegacyRequest::source):
+        (WebCore::LegacyRequest::transaction):
+        (WebCore::LegacyRequest::onSuccess):
+        * Modules/indexeddb/legacy/LegacyRequest.h:
+        * Modules/indexeddb/legacy/LegacyTransaction.cpp:
+        (WebCore::LegacyTransaction::objectStore):
+        * Modules/indexeddb/legacy/LegacyTransaction.h:
+        * inspector/InspectorIndexedDBAgent.cpp:
+
</ins><span class="cx"> 2015-09-25  Per Arne Vollan  &lt;peavo@outlook.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [WinCairo] Incorrect position for windowless plugins.
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBAnyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBAny.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBAny.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBAny.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx"> #include &quot;IDBKeyPath.h&quot;
</span><span class="cx"> #include &quot;ScriptWrappable.h&quot;
</span><span class="cx"> #include &lt;bindings/ScriptValue.h&gt;
</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">@@ -70,14 +69,14 @@
</span><span class="cx">     };
</span><span class="cx"> 
</span><span class="cx">     virtual Type type() const = 0;
</span><del>-    virtual PassRefPtr&lt;DOMStringList&gt; domStringList() = 0;
-    virtual PassRefPtr&lt;IDBCursor&gt; idbCursor() = 0;
-    virtual PassRefPtr&lt;IDBCursorWithValue&gt; idbCursorWithValue() = 0;
-    virtual PassRefPtr&lt;IDBDatabase&gt; idbDatabase() = 0;
-    virtual PassRefPtr&lt;IDBFactory&gt; idbFactory() = 0;
-    virtual PassRefPtr&lt;IDBIndex&gt; idbIndex() = 0;
-    virtual PassRefPtr&lt;IDBObjectStore&gt; idbObjectStore() = 0;
-    virtual PassRefPtr&lt;IDBTransaction&gt; idbTransaction() = 0;
</del><ins>+    virtual RefPtr&lt;DOMStringList&gt; domStringList() = 0;
+    virtual RefPtr&lt;IDBCursor&gt; idbCursor() = 0;
+    virtual RefPtr&lt;IDBCursorWithValue&gt; idbCursorWithValue() = 0;
+    virtual RefPtr&lt;IDBDatabase&gt; idbDatabase() = 0;
+    virtual RefPtr&lt;IDBFactory&gt; idbFactory() = 0;
+    virtual RefPtr&lt;IDBIndex&gt; idbIndex() = 0;
+    virtual RefPtr&lt;IDBObjectStore&gt; idbObjectStore() = 0;
+    virtual RefPtr&lt;IDBTransaction&gt; idbTransaction() = 0;
</ins><span class="cx">     virtual const Deprecated::ScriptValue&amp; scriptValue() = 0;
</span><span class="cx">     virtual int64_t integer() = 0;
</span><span class="cx">     virtual const String&amp; string() = 0;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBCursorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> #include &quot;IndexedDB.h&quot;
</span><span class="cx"> #include &quot;ScriptWrappable.h&quot;
</span><span class="cx"> #include &lt;bindings/ScriptValue.h&gt;
</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"> 
</span><span class="lines">@@ -66,12 +65,12 @@
</span><span class="cx">     virtual const Deprecated::ScriptValue&amp; value() const = 0;
</span><span class="cx">     virtual IDBAny* source() const = 0;
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; update(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; update(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
</ins><span class="cx">     virtual void advance(unsigned long, ExceptionCode&amp;) = 0;
</span><span class="cx">     // FIXME: Try to modify the code generator so this overload is unneeded.
</span><span class="cx">     virtual void continueFunction(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
</span><span class="cx">     virtual void continueFunction(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="cx">     IDBCursor();
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -36,7 +36,6 @@
</span><span class="cx"> #include &quot;IDBTransaction.h&quot;
</span><span class="cx"> #include &quot;IndexedDB.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"> 
</span><span class="lines">@@ -55,12 +54,12 @@
</span><span class="cx">     // Implement the IDL
</span><span class="cx">     virtual const String name() const = 0;
</span><span class="cx">     virtual uint64_t version() const = 0;
</span><del>-    virtual PassRefPtr&lt;DOMStringList&gt; objectStoreNames() const = 0;
</del><ins>+    virtual RefPtr&lt;DOMStringList&gt; objectStoreNames() const = 0;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBObjectStore&gt; createObjectStore(const String&amp; name, const Dictionary&amp;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBObjectStore&gt; createObjectStore(const String&amp; name, const IDBKeyPath&amp;, bool autoIncrement, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBTransaction&gt; transaction(ScriptExecutionContext*, const Vector&lt;String&gt;&amp;, const String&amp; mode, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBTransaction&gt; transaction(ScriptExecutionContext*, const String&amp;, const String&amp; mode, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBObjectStore&gt; createObjectStore(const String&amp; name, const Dictionary&amp;, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBObjectStore&gt; createObjectStore(const String&amp; name, const IDBKeyPath&amp;, bool autoIncrement, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBTransaction&gt; transaction(ScriptExecutionContext*, const Vector&lt;String&gt;&amp;, const String&amp; mode, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBTransaction&gt; transaction(ScriptExecutionContext*, const String&amp;, const String&amp; mode, ExceptionCode&amp;) = 0;
</ins><span class="cx">     virtual void deleteObjectStore(const String&amp; name, ExceptionCode&amp;) = 0;
</span><span class="cx">     virtual void close() = 0;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseErrorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseError.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseError.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseError.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -27,8 +27,8 @@
</span><span class="cx"> #define IDBDatabaseError_h
</span><span class="cx"> 
</span><span class="cx"> #include &quot;IDBDatabaseException.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><ins>+#include &lt;wtf/RefPtr.h&gt;
</ins><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(INDEXED_DATABASE)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBFactoryh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBFactory.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBFactory.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBFactory.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -28,7 +28,6 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;IDBOpenDBRequest.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/text/WTFString.h&gt;
</span><span class="lines">@@ -51,11 +50,11 @@
</span><span class="cx">     // FIXME: getDatabaseNames is no longer a web-facing API, and should be removed from IDBFactory.
</span><span class="cx">     // The Web Inspector currently uses this to enumerate the list of databases, but is more complicated as a result.
</span><span class="cx">     // We should provide a simpler API to the Web Inspector then remove getDatabaseNames.
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; getDatabaseNames(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; getDatabaseNames(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, unsigned long long version, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBOpenDBRequest&gt; deleteDatabase(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, unsigned long long version, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBOpenDBRequest&gt; deleteDatabase(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><span class="cx">     virtual short cmp(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; first, const Deprecated::ScriptValue&amp; second, ExceptionCode&amp;) = 0;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBIndexh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBIndex.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBIndex.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBIndex.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -49,34 +49,34 @@
</span><span class="cx"> 
</span><span class="cx">     // Implement the IDL
</span><span class="cx">     virtual const String name() const = 0;
</span><del>-    virtual PassRefPtr&lt;IDBObjectStore&gt; objectStore() const = 0;
-    virtual PassRefPtr&lt;IDBAny&gt; keyPathAny() const = 0;
</del><ins>+    virtual RefPtr&lt;IDBObjectStore&gt; objectStore() const = 0;
+    virtual RefPtr&lt;IDBAny&gt; keyPathAny() const = 0;
</ins><span class="cx">     virtual const IDBKeyPath keyPath() const = 0;
</span><span class="cx">     virtual bool unique() const = 0;
</span><span class="cx">     virtual bool multiEntry() const = 0;
</span><span class="cx">     virtual int64_t id() const = 0;
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, const String&amp; direction, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, IDBKeyRange*, const String&amp; direction, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, const String&amp; direction, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, IDBKeyRange*, const String&amp; direction, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; getKey(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; getKey(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; getKey(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; getKey(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="cx">     IDBIndex();
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBObjectStoreh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> #include &quot;Dictionary.h&quot;
</span><span class="cx"> #include &quot;ExceptionCode.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/text/WTFString.h&gt;
</span><span class="lines">@@ -62,36 +61,36 @@
</span><span class="cx">     // Implement the IDBObjectStore IDL
</span><span class="cx">     virtual int64_t id() const = 0;
</span><span class="cx">     virtual const String name() const = 0;
</span><del>-    virtual PassRefPtr&lt;IDBAny&gt; keyPathAny() const = 0;
</del><ins>+    virtual RefPtr&lt;IDBAny&gt; keyPathAny() const = 0;
</ins><span class="cx">     virtual const IDBKeyPath keyPath() const = 0;
</span><del>-    virtual PassRefPtr&lt;DOMStringList&gt; indexNames() const = 0;
-    virtual PassRefPtr&lt;IDBTransaction&gt; transaction() const = 0;
</del><ins>+    virtual RefPtr&lt;DOMStringList&gt; indexNames() const = 0;
+    virtual RefPtr&lt;IDBTransaction&gt; transaction() const = 0;
</ins><span class="cx">     virtual bool autoIncrement() const = 0;
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, const String&amp; direction, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, IDBKeyRange*, const String&amp; direction, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; clear(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; clear(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBIndex&gt; createIndex(ScriptExecutionContext*, const String&amp; name, const IDBKeyPath&amp;, bool unique, bool multiEntry, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBIndex&gt; createIndex(ScriptExecutionContext*, const String&amp; name, const IDBKeyPath&amp;, bool unique, bool multiEntry, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBIndex&gt; index(const String&amp; name, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBIndex&gt; index(const String&amp; name, ExceptionCode&amp;) = 0;
</ins><span class="cx">     virtual void deleteIndex(const String&amp; name, ExceptionCode&amp;) = 0;
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) = 0;
-    virtual PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) = 0;
+    virtual RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) = 0;
</ins><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="cx">     IDBObjectStore();
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBRequesth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -49,11 +49,11 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~IDBRequest() { }
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBAny&gt; result(ExceptionCode&amp;) const = 0;
</del><ins>+    virtual RefPtr&lt;IDBAny&gt; result(ExceptionCode&amp;) const = 0;
</ins><span class="cx">     virtual unsigned short errorCode(ExceptionCode&amp;) const = 0;
</span><del>-    virtual PassRefPtr&lt;DOMError&gt; error(ExceptionCode&amp;) const = 0;
-    virtual PassRefPtr&lt;IDBAny&gt; source() const = 0;
-    virtual PassRefPtr&lt;IDBTransaction&gt; transaction() const = 0;
</del><ins>+    virtual RefPtr&lt;DOMError&gt; error(ExceptionCode&amp;) const = 0;
+    virtual RefPtr&lt;IDBAny&gt; source() const = 0;
+    virtual RefPtr&lt;IDBTransaction&gt; transaction() const = 0;
</ins><span class="cx"> 
</span><span class="cx">     // Defined in the IDL
</span><span class="cx">     enum ReadyState {
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBTransactionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -62,8 +62,8 @@
</span><span class="cx">     // Implement the IDBTransaction IDL
</span><span class="cx">     virtual const String&amp; mode() const = 0;
</span><span class="cx">     virtual IDBDatabase* db() const = 0;
</span><del>-    virtual PassRefPtr&lt;DOMError&gt; error() const = 0;
-    virtual PassRefPtr&lt;IDBObjectStore&gt; objectStore(const String&amp; name, ExceptionCode&amp;) = 0;
</del><ins>+    virtual RefPtr&lt;DOMError&gt; error() const = 0;
+    virtual RefPtr&lt;IDBObjectStore&gt; objectStore(const String&amp; name, ExceptionCode&amp;) = 0;
</ins><span class="cx">     virtual void abort(ExceptionCode&amp;) = 0;
</span><span class="cx"> 
</span><span class="cx">     using RefCounted&lt;IDBTransaction&gt;::ref;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbclientIDBFactoryImplcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/client/IDBFactoryImpl.cpp (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/client/IDBFactoryImpl.cpp        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/client/IDBFactoryImpl.cpp        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -68,19 +68,19 @@
</span><span class="cx"> 
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebCore::IDBRequest&gt; IDBFactory::getDatabaseNames(ScriptExecutionContext*, ExceptionCode&amp;)
</del><ins>+RefPtr&lt;WebCore::IDBRequest&gt; IDBFactory::getDatabaseNames(ScriptExecutionContext*, ExceptionCode&amp;)
</ins><span class="cx"> {
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebCore::IDBOpenDBRequest&gt; IDBFactory::open(ScriptExecutionContext* context, const String&amp; name, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;WebCore::IDBOpenDBRequest&gt; IDBFactory::open(ScriptExecutionContext* context, const String&amp; name, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(IndexedDB, &quot;IDBFactory::open&quot;);
</span><span class="cx">     
</span><span class="cx">     return openInternal(context, name, 0, ec).release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebCore::IDBOpenDBRequest&gt; IDBFactory::open(ScriptExecutionContext* context, const String&amp; name, unsigned long long version, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;WebCore::IDBOpenDBRequest&gt; IDBFactory::open(ScriptExecutionContext* context, const String&amp; name, unsigned long long version, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(IndexedDB, &quot;IDBFactory::open&quot;);
</span><span class="cx">     
</span><span class="lines">@@ -116,7 +116,7 @@
</span><span class="cx">     return adoptRef(&amp;request.leakRef());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebCore::IDBOpenDBRequest&gt; IDBFactory::deleteDatabase(ScriptExecutionContext* context, const String&amp; name, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;WebCore::IDBOpenDBRequest&gt; IDBFactory::deleteDatabase(ScriptExecutionContext* context, const String&amp; name, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(IndexedDB, &quot;IDBFactory::deleteDatabase&quot;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbclientIDBFactoryImplh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/client/IDBFactoryImpl.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/client/IDBFactoryImpl.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/client/IDBFactoryImpl.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -39,11 +39,11 @@
</span><span class="cx"> public:
</span><span class="cx">     static Ref&lt;IDBFactory&gt; create();
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;WebCore::IDBRequest&gt; getDatabaseNames(ScriptExecutionContext*, ExceptionCode&amp;) override final;
</del><ins>+    virtual RefPtr&lt;WebCore::IDBRequest&gt; getDatabaseNames(ScriptExecutionContext*, ExceptionCode&amp;) override final;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;WebCore::IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;WebCore::IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, unsigned long long version, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;WebCore::IDBOpenDBRequest&gt; deleteDatabase(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;) override final;
</del><ins>+    virtual RefPtr&lt;WebCore::IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;WebCore::IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, unsigned long long version, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;WebCore::IDBOpenDBRequest&gt; deleteDatabase(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;) override final;
</ins><span class="cx"> 
</span><span class="cx">     virtual short cmp(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; first, const Deprecated::ScriptValue&amp; second, ExceptionCode&amp;) override final;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbclientIDBRequestImplcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/client/IDBRequestImpl.cpp (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/client/IDBRequestImpl.cpp        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/client/IDBRequestImpl.cpp        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBAny&gt; IDBRequest::result(ExceptionCode&amp;) const
</del><ins>+RefPtr&lt;IDBAny&gt; IDBRequest::result(ExceptionCode&amp;) const
</ins><span class="cx"> {
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="lines">@@ -48,17 +48,17 @@
</span><span class="cx">     return 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;DOMError&gt; IDBRequest::error(ExceptionCode&amp;) const
</del><ins>+RefPtr&lt;DOMError&gt; IDBRequest::error(ExceptionCode&amp;) const
</ins><span class="cx"> {
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBAny&gt; IDBRequest::source() const
</del><ins>+RefPtr&lt;IDBAny&gt; IDBRequest::source() const
</ins><span class="cx"> {
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBTransaction&gt; IDBRequest::transaction() const
</del><ins>+RefPtr&lt;IDBTransaction&gt; IDBRequest::transaction() const
</ins><span class="cx"> {
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbclientIDBRequestImplh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/client/IDBRequestImpl.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/client/IDBRequestImpl.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/client/IDBRequestImpl.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -36,11 +36,11 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBRequest : public WebCore::IDBOpenDBRequest, public RefCounted&lt;IDBRequest&gt; {
</span><span class="cx"> public:
</span><del>-    virtual PassRefPtr&lt;IDBAny&gt; result(ExceptionCode&amp;) const override;
</del><ins>+    virtual RefPtr&lt;IDBAny&gt; result(ExceptionCode&amp;) const override;
</ins><span class="cx">     virtual unsigned short errorCode(ExceptionCode&amp;) const override;
</span><del>-    virtual PassRefPtr&lt;DOMError&gt; error(ExceptionCode&amp;) const override;
-    virtual PassRefPtr&lt;IDBAny&gt; source() const override;
-    virtual PassRefPtr&lt;IDBTransaction&gt; transaction() const override;
</del><ins>+    virtual RefPtr&lt;DOMError&gt; error(ExceptionCode&amp;) const override;
+    virtual RefPtr&lt;IDBAny&gt; source() const override;
+    virtual RefPtr&lt;IDBTransaction&gt; transaction() const override;
</ins><span class="cx">     virtual const String&amp; readyState() const override;
</span><span class="cx"> 
</span><span class="cx">     // EventTarget
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyAnycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyAny.cpp (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyAny.cpp        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyAny.cpp        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -38,17 +38,17 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;LegacyAny&gt; LegacyAny::createInvalid()
</del><ins>+RefPtr&lt;LegacyAny&gt; LegacyAny::createInvalid()
</ins><span class="cx"> {
</span><span class="cx">     return adoptRef(new LegacyAny(Type::Undefined));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;LegacyAny&gt; LegacyAny::createNull()
</del><ins>+RefPtr&lt;LegacyAny&gt; LegacyAny::createNull()
</ins><span class="cx"> {
</span><span class="cx">     return adoptRef(new LegacyAny(Type::Null));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;LegacyAny&gt; LegacyAny::createString(const String&amp; value)
</del><ins>+RefPtr&lt;LegacyAny&gt; LegacyAny::createString(const String&amp; value)
</ins><span class="cx"> {
</span><span class="cx">     return adoptRef(new LegacyAny(value));
</span><span class="cx"> }
</span><span class="lines">@@ -64,49 +64,49 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;DOMStringList&gt; LegacyAny::domStringList()
</del><ins>+RefPtr&lt;DOMStringList&gt; LegacyAny::domStringList()
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(m_type == Type::DOMStringList);
</span><span class="cx">     return m_domStringList;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBCursor&gt; LegacyAny::idbCursor()
</del><ins>+RefPtr&lt;IDBCursor&gt; LegacyAny::idbCursor()
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(m_type == Type::IDBCursor);
</span><span class="cx">     return m_idbCursor;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBCursorWithValue&gt; LegacyAny::idbCursorWithValue()
</del><ins>+RefPtr&lt;IDBCursorWithValue&gt; LegacyAny::idbCursorWithValue()
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(m_type == Type::IDBCursorWithValue);
</span><span class="cx">     return m_idbCursorWithValue;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBDatabase&gt; LegacyAny::idbDatabase()
</del><ins>+RefPtr&lt;IDBDatabase&gt; LegacyAny::idbDatabase()
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(m_type == Type::IDBDatabase);
</span><span class="cx">     return m_idbDatabase;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBFactory&gt; LegacyAny::idbFactory()
</del><ins>+RefPtr&lt;IDBFactory&gt; LegacyAny::idbFactory()
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(m_type == Type::IDBFactory);
</span><span class="cx">     return m_idbFactory;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBIndex&gt; LegacyAny::idbIndex()
</del><ins>+RefPtr&lt;IDBIndex&gt; LegacyAny::idbIndex()
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(m_type == Type::IDBIndex);
</span><span class="cx">     return m_idbIndex;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBObjectStore&gt; LegacyAny::idbObjectStore()
</del><ins>+RefPtr&lt;IDBObjectStore&gt; LegacyAny::idbObjectStore()
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(m_type == Type::IDBObjectStore);
</span><span class="cx">     return m_idbObjectStore;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBTransaction&gt; LegacyAny::idbTransaction()
</del><ins>+RefPtr&lt;IDBTransaction&gt; LegacyAny::idbTransaction()
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(m_type == Type::IDBTransaction);
</span><span class="cx">     return m_idbTransaction;
</span><span class="lines">@@ -130,56 +130,56 @@
</span><span class="cx">     return m_integer;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-LegacyAny::LegacyAny(PassRefPtr&lt;DOMStringList&gt; value)
</del><ins>+LegacyAny::LegacyAny(RefPtr&lt;DOMStringList&gt; value)
</ins><span class="cx">     : m_type(Type::DOMStringList)
</span><span class="cx">     , m_domStringList(value)
</span><span class="cx">     , m_integer(0)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-LegacyAny::LegacyAny(PassRefPtr&lt;LegacyCursorWithValue&gt; value)
</del><ins>+LegacyAny::LegacyAny(RefPtr&lt;LegacyCursorWithValue&gt; value)
</ins><span class="cx">     : m_type(Type::IDBCursorWithValue)
</span><span class="cx">     , m_idbCursorWithValue(value)
</span><span class="cx">     , m_integer(0)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-LegacyAny::LegacyAny(PassRefPtr&lt;LegacyCursor&gt; value)
</del><ins>+LegacyAny::LegacyAny(RefPtr&lt;LegacyCursor&gt; value)
</ins><span class="cx">     : m_type(Type::IDBCursor)
</span><span class="cx">     , m_idbCursor(value)
</span><span class="cx">     , m_integer(0)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-LegacyAny::LegacyAny(PassRefPtr&lt;LegacyDatabase&gt; value)
</del><ins>+LegacyAny::LegacyAny(RefPtr&lt;LegacyDatabase&gt; value)
</ins><span class="cx">     : m_type(Type::IDBDatabase)
</span><span class="cx">     , m_idbDatabase(value)
</span><span class="cx">     , m_integer(0)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-LegacyAny::LegacyAny(PassRefPtr&lt;LegacyFactory&gt; value)
</del><ins>+LegacyAny::LegacyAny(RefPtr&lt;LegacyFactory&gt; value)
</ins><span class="cx">     : m_type(Type::IDBFactory)
</span><span class="cx">     , m_idbFactory(value)
</span><span class="cx">     , m_integer(0)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-LegacyAny::LegacyAny(PassRefPtr&lt;LegacyIndex&gt; value)
</del><ins>+LegacyAny::LegacyAny(RefPtr&lt;LegacyIndex&gt; value)
</ins><span class="cx">     : m_type(Type::IDBIndex)
</span><span class="cx">     , m_idbIndex(value)
</span><span class="cx">     , m_integer(0)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-LegacyAny::LegacyAny(PassRefPtr&lt;LegacyTransaction&gt; value)
</del><ins>+LegacyAny::LegacyAny(RefPtr&lt;LegacyTransaction&gt; value)
</ins><span class="cx">     : m_type(Type::IDBTransaction)
</span><span class="cx">     , m_idbTransaction(value)
</span><span class="cx">     , m_integer(0)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-LegacyAny::LegacyAny(PassRefPtr&lt;LegacyObjectStore&gt; value)
</del><ins>+LegacyAny::LegacyAny(RefPtr&lt;LegacyObjectStore&gt; value)
</ins><span class="cx">     : m_type(Type::IDBObjectStore)
</span><span class="cx">     , m_idbObjectStore(value)
</span><span class="cx">     , m_integer(0)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyAnyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyAny.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyAny.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyAny.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -59,25 +59,26 @@
</span><span class="cx"> 
</span><span class="cx"> class LegacyAny : public IDBAny {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;LegacyAny&gt; createInvalid();
-    static PassRefPtr&lt;LegacyAny&gt; createNull();
-    static PassRefPtr&lt;LegacyAny&gt; createString(const String&amp;);
</del><ins>+    static RefPtr&lt;LegacyAny&gt; createInvalid();
+    static RefPtr&lt;LegacyAny&gt; createNull();
+    static RefPtr&lt;LegacyAny&gt; createString(const String&amp;);
</ins><span class="cx">     template&lt;typename T&gt;
</span><del>-    static PassRefPtr&lt;LegacyAny&gt; create(T* idbObject)
</del><ins>+    static RefPtr&lt;LegacyAny&gt; create(T* idbObject)
</ins><span class="cx">     {
</span><span class="cx">         return adoptRef(new LegacyAny(idbObject));
</span><span class="cx">     }
</span><span class="cx">     template&lt;typename T&gt;
</span><del>-    static PassRefPtr&lt;LegacyAny&gt; create(const T&amp; idbObject)
</del><ins>+    static RefPtr&lt;LegacyAny&gt; create(const T&amp; idbObject)
</ins><span class="cx">     {
</span><span class="cx">         return adoptRef(new LegacyAny(idbObject));
</span><span class="cx">     }
</span><span class="cx">     template&lt;typename T&gt;
</span><del>-    static PassRefPtr&lt;LegacyAny&gt; create(PassRefPtr&lt;T&gt; idbObject)
</del><ins>+    static RefPtr&lt;LegacyAny&gt; create(PassRefPtr&lt;T&gt; idbObject)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new LegacyAny(idbObject));
</del><ins>+        RefPtr&lt;T&gt; refObject = idbObject;
+        return adoptRef(new LegacyAny(WTF::move(refObject)));
</ins><span class="cx">     }
</span><del>-    static PassRefPtr&lt;LegacyAny&gt; create(int64_t value)
</del><ins>+    static RefPtr&lt;LegacyAny&gt; create(int64_t value)
</ins><span class="cx">     {
</span><span class="cx">         return adoptRef(new LegacyAny(value));
</span><span class="cx">     }
</span><span class="lines">@@ -85,14 +86,14 @@
</span><span class="cx"> 
</span><span class="cx">     virtual Type type() const override final { return m_type; }
</span><span class="cx">     // Use type() to figure out which one of these you're allowed to call.
</span><del>-    virtual PassRefPtr&lt;DOMStringList&gt; domStringList() override final;
-    virtual PassRefPtr&lt;IDBCursor&gt; idbCursor() override final;
-    virtual PassRefPtr&lt;IDBCursorWithValue&gt; idbCursorWithValue() override final;
-    virtual PassRefPtr&lt;IDBDatabase&gt; idbDatabase() override final;
-    virtual PassRefPtr&lt;IDBFactory&gt; idbFactory() override final;
-    virtual PassRefPtr&lt;IDBIndex&gt; idbIndex() override final;
-    virtual PassRefPtr&lt;IDBObjectStore&gt; idbObjectStore() override final;
-    virtual PassRefPtr&lt;IDBTransaction&gt; idbTransaction() override final;
</del><ins>+    virtual RefPtr&lt;DOMStringList&gt; domStringList() override final;
+    virtual RefPtr&lt;IDBCursor&gt; idbCursor() override final;
+    virtual RefPtr&lt;IDBCursorWithValue&gt; idbCursorWithValue() override final;
+    virtual RefPtr&lt;IDBDatabase&gt; idbDatabase() override final;
+    virtual RefPtr&lt;IDBFactory&gt; idbFactory() override final;
+    virtual RefPtr&lt;IDBIndex&gt; idbIndex() override final;
+    virtual RefPtr&lt;IDBObjectStore&gt; idbObjectStore() override final;
+    virtual RefPtr&lt;IDBTransaction&gt; idbTransaction() override final;
</ins><span class="cx">     virtual const Deprecated::ScriptValue&amp; scriptValue() override final;
</span><span class="cx">     virtual int64_t integer() override final;
</span><span class="cx">     virtual const String&amp; string() override final;
</span><span class="lines">@@ -108,14 +109,14 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit LegacyAny(Type);
</span><del>-    explicit LegacyAny(PassRefPtr&lt;DOMStringList&gt;);
-    explicit LegacyAny(PassRefPtr&lt;LegacyCursor&gt;);
-    explicit LegacyAny(PassRefPtr&lt;LegacyCursorWithValue&gt;);
-    explicit LegacyAny(PassRefPtr&lt;LegacyDatabase&gt;);
-    explicit LegacyAny(PassRefPtr&lt;LegacyFactory&gt;);
-    explicit LegacyAny(PassRefPtr&lt;LegacyIndex&gt;);
-    explicit LegacyAny(PassRefPtr&lt;LegacyObjectStore&gt;);
-    explicit LegacyAny(PassRefPtr&lt;LegacyTransaction&gt;);
</del><ins>+    explicit LegacyAny(RefPtr&lt;DOMStringList&gt;);
+    explicit LegacyAny(RefPtr&lt;LegacyCursor&gt;);
+    explicit LegacyAny(RefPtr&lt;LegacyCursorWithValue&gt;);
+    explicit LegacyAny(RefPtr&lt;LegacyDatabase&gt;);
+    explicit LegacyAny(RefPtr&lt;LegacyFactory&gt;);
+    explicit LegacyAny(RefPtr&lt;LegacyIndex&gt;);
+    explicit LegacyAny(RefPtr&lt;LegacyObjectStore&gt;);
+    explicit LegacyAny(RefPtr&lt;LegacyTransaction&gt;);
</ins><span class="cx">     explicit LegacyAny(const IDBKeyPath&amp;);
</span><span class="cx">     explicit LegacyAny(const String&amp;);
</span><span class="cx">     explicit LegacyAny(const Deprecated::ScriptValue&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyCursorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.cpp (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.cpp        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.cpp        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx">     return m_source.get();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyCursor::update(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyCursor::update(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyCursor::update&quot;);
</span><span class="cx"> 
</span><span class="lines">@@ -201,7 +201,7 @@
</span><span class="cx">     ASSERT(!ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyCursor::deleteFunction(ScriptExecutionContext* context, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyCursor::deleteFunction(ScriptExecutionContext* context, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     ec = 0;
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyCursor::delete&quot;);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyCursorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyCursor.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -35,7 +35,6 @@
</span><span class="cx"> #include &quot;LegacyTransaction.h&quot;
</span><span class="cx"> #include &quot;ScriptWrappable.h&quot;
</span><span class="cx"> #include &lt;bindings/ScriptValue.h&gt;
</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"> 
</span><span class="lines">@@ -62,12 +61,12 @@
</span><span class="cx">     const Deprecated::ScriptValue&amp; value() const;
</span><span class="cx">     IDBAny* source() const;
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;IDBRequest&gt; update(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
</del><ins>+    RefPtr&lt;IDBRequest&gt; update(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
</ins><span class="cx">     void advance(unsigned long, ExceptionCode&amp;);
</span><span class="cx">     // FIXME: Try to modify the code generator so this overload is unneeded.
</span><span class="cx">     void continueFunction(ScriptExecutionContext*, ExceptionCode&amp; ec) { continueFunction(static_cast&lt;IDBKey*&gt;(nullptr), ec); }
</span><span class="cx">     void continueFunction(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
</span><del>-    PassRefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, ExceptionCode&amp;);
</del><ins>+    RefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, ExceptionCode&amp;);
</ins><span class="cx"> 
</span><span class="cx">     void continueFunction(PassRefPtr&lt;IDBKey&gt;, ExceptionCode&amp;);
</span><span class="cx">     void postSuccessHandlerCallback();
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyDatabasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyDatabase.cpp (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyDatabase.cpp        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyDatabase.cpp        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -145,7 +145,7 @@
</span><span class="cx">     m_transactions.get(transactionId)-&gt;onComplete();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;DOMStringList&gt; LegacyDatabase::objectStoreNames() const
</del><ins>+RefPtr&lt;DOMStringList&gt; LegacyDatabase::objectStoreNames() const
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;DOMStringList&gt; objectStoreNames = DOMStringList::create();
</span><span class="cx">     for (auto&amp; objectStore : m_metadata.objectStores.values())
</span><span class="lines">@@ -161,7 +161,7 @@
</span><span class="cx">     return m_metadata.version != IDBDatabaseMetadata::NoIntVersion ? m_metadata.version : static_cast&lt;uint64_t&gt;(IDBDatabaseMetadata::DefaultIntVersion);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBObjectStore&gt; LegacyDatabase::createObjectStore(const String&amp; name, const Dictionary&amp; options, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBObjectStore&gt; LegacyDatabase::createObjectStore(const String&amp; name, const Dictionary&amp; options, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     IDBKeyPath keyPath;
</span><span class="cx">     bool autoIncrement = false;
</span><span class="lines">@@ -179,7 +179,7 @@
</span><span class="cx">     return createObjectStore(name, keyPath, autoIncrement, ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBObjectStore&gt; LegacyDatabase::createObjectStore(const String&amp; name, const IDBKeyPath&amp; keyPath, bool autoIncrement, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBObjectStore&gt; LegacyDatabase::createObjectStore(const String&amp; name, const IDBKeyPath&amp; keyPath, bool autoIncrement, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyDatabase::createObjectStore&quot;);
</span><span class="cx">     if (!m_versionChangeTransaction) {
</span><span class="lines">@@ -241,7 +241,7 @@
</span><span class="cx">     m_metadata.objectStores.remove(objectStoreId);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBTransaction&gt; LegacyDatabase::transaction(ScriptExecutionContext* context, const Vector&lt;String&gt;&amp; scope, const String&amp; modeString, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBTransaction&gt; LegacyDatabase::transaction(ScriptExecutionContext* context, const Vector&lt;String&gt;&amp; scope, const String&amp; modeString, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyDatabase::transaction&quot;);
</span><span class="cx">     if (!scope.size()) {
</span><span class="lines">@@ -275,7 +275,7 @@
</span><span class="cx">     return transaction.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBTransaction&gt; LegacyDatabase::transaction(ScriptExecutionContext* context, const String&amp; storeName, const String&amp; mode, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBTransaction&gt; LegacyDatabase::transaction(ScriptExecutionContext* context, const String&amp; storeName, const String&amp; mode, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;DOMStringList&gt; storeNames = DOMStringList::create();
</span><span class="cx">     storeNames-&gt;append(storeName);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyDatabaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyDatabase.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyDatabase.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyDatabase.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -63,12 +63,12 @@
</span><span class="cx">     // Implement the IDL
</span><span class="cx">     virtual const String name() const override final { return m_metadata.name; }
</span><span class="cx">     virtual uint64_t version() const override final;
</span><del>-    virtual PassRefPtr&lt;DOMStringList&gt; objectStoreNames() const override final;
</del><ins>+    virtual RefPtr&lt;DOMStringList&gt; objectStoreNames() const override final;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBObjectStore&gt; createObjectStore(const String&amp; name, const Dictionary&amp;, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;IDBObjectStore&gt; createObjectStore(const String&amp; name, const IDBKeyPath&amp;, bool autoIncrement, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;IDBTransaction&gt; transaction(ScriptExecutionContext*, const Vector&lt;String&gt;&amp;, const String&amp; mode, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;IDBTransaction&gt; transaction(ScriptExecutionContext*, const String&amp;, const String&amp; mode, ExceptionCode&amp;) override final;
</del><ins>+    virtual RefPtr&lt;IDBObjectStore&gt; createObjectStore(const String&amp; name, const Dictionary&amp;, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;IDBObjectStore&gt; createObjectStore(const String&amp; name, const IDBKeyPath&amp;, bool autoIncrement, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;IDBTransaction&gt; transaction(ScriptExecutionContext*, const Vector&lt;String&gt;&amp;, const String&amp; mode, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;IDBTransaction&gt; transaction(ScriptExecutionContext*, const String&amp;, const String&amp; mode, ExceptionCode&amp;) override final;
</ins><span class="cx">     virtual void deleteObjectStore(const String&amp; name, ExceptionCode&amp;) override final;
</span><span class="cx">     virtual void close() override final;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyFactorycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyFactory.cpp (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyFactory.cpp        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyFactory.cpp        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx">     return true;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyFactory::getDatabaseNames(ScriptExecutionContext* context, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyFactory::getDatabaseNames(ScriptExecutionContext* context, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyFactory::getDatabaseNames&quot;);
</span><span class="cx">     if (!isContextValid(context))
</span><span class="lines">@@ -90,13 +90,13 @@
</span><span class="cx">     return request;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBOpenDBRequest&gt; LegacyFactory::open(ScriptExecutionContext* context, const String&amp; name, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBOpenDBRequest&gt; LegacyFactory::open(ScriptExecutionContext* context, const String&amp; name, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyFactory::open&quot;);
</span><span class="cx">     return openInternal(context, name, 0, IndexedDB::VersionNullness::Null, ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBOpenDBRequest&gt; LegacyFactory::open(ScriptExecutionContext* context, const String&amp; name, unsigned long long version, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBOpenDBRequest&gt; LegacyFactory::open(ScriptExecutionContext* context, const String&amp; name, unsigned long long version, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyFactory::open&quot;);
</span><span class="cx">     if (!version) {
</span><span class="lines">@@ -127,7 +127,7 @@
</span><span class="cx">     return request;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBOpenDBRequest&gt; LegacyFactory::deleteDatabase(ScriptExecutionContext* context, const String&amp; name, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBOpenDBRequest&gt; LegacyFactory::deleteDatabase(ScriptExecutionContext* context, const String&amp; name, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyFactory::deleteDatabase&quot;);
</span><span class="cx">     if (name.isNull()) {
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyFactoryh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyFactory.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyFactory.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyFactory.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -61,13 +61,13 @@
</span><span class="cx">     // FIXME: getDatabaseNames is no longer a web-facing API, and should be removed from LegacyFactory.
</span><span class="cx">     // The Web Inspector currently uses this to enumerate the list of databases, but is more complicated as a result.
</span><span class="cx">     // We should provide a simpler API to the Web Inspector then remove getDatabaseNames.
</span><del>-    PassRefPtr&lt;IDBRequest&gt; getDatabaseNames(ScriptExecutionContext*, ExceptionCode&amp;);
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; getDatabaseNames(ScriptExecutionContext*, ExceptionCode&amp;) override;
</ins><span class="cx"> 
</span><del>-    PassRefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, unsigned long long version, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBOpenDBRequest&gt; deleteDatabase(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;);
</del><ins>+    virtual RefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;) override;
+    virtual RefPtr&lt;IDBOpenDBRequest&gt; open(ScriptExecutionContext*, const String&amp; name, unsigned long long version, ExceptionCode&amp;) override;
+    virtual RefPtr&lt;IDBOpenDBRequest&gt; deleteDatabase(ScriptExecutionContext*, const String&amp; name, ExceptionCode&amp;) override;
</ins><span class="cx"> 
</span><del>-    short cmp(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; first, const Deprecated::ScriptValue&amp; second, ExceptionCode&amp;);
</del><ins>+    short cmp(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; first, const Deprecated::ScriptValue&amp; second, ExceptionCode&amp;) override;
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     LegacyFactory(IDBFactoryBackendInterface*);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyIndexcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyIndex.cpp (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyIndex.cpp        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyIndex.cpp        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -54,7 +54,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyIndex::openCursor(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; keyRange, const String&amp; directionString, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyIndex::openCursor(ScriptExecutionContext* context, IDBKeyRange* keyRange, const String&amp; directionString, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyIndex::openCursor&quot;);
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -75,16 +75,16 @@
</span><span class="cx">     return request;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyIndex::openCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyIndex::openCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyIndex::openCursor&quot;);
</span><span class="cx">     RefPtr&lt;IDBKeyRange&gt; keyRange = IDBKeyRange::only(context, key, ec);
</span><span class="cx">     if (ec)
</span><span class="cx">         return 0;
</span><del>-    return openCursor(context, keyRange.release(), direction, ec);
</del><ins>+    return openCursor(context, keyRange.get(), direction, ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyIndex::count(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; keyRange, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyIndex::count(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyIndex::count&quot;);
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -100,16 +100,16 @@
</span><span class="cx">     return request;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyIndex::count(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyIndex::count(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyIndex::count&quot;);
</span><span class="cx">     RefPtr&lt;IDBKeyRange&gt; keyRange = IDBKeyRange::only(context, key, ec);
</span><span class="cx">     if (ec)
</span><span class="cx">         return 0;
</span><del>-    return count(context, keyRange.release(), ec);
</del><ins>+    return count(context, keyRange.get(), ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyIndex::openKeyCursor(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; keyRange, const String&amp; directionString, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyIndex::openKeyCursor(ScriptExecutionContext* context, IDBKeyRange* keyRange, const String&amp; directionString, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyIndex::openKeyCursor&quot;);
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -130,25 +130,25 @@
</span><span class="cx">     return request;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyIndex::openKeyCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyIndex::openKeyCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyIndex::openKeyCursor&quot;);
</span><span class="cx">     RefPtr&lt;IDBKeyRange&gt; keyRange = IDBKeyRange::only(context, key, ec);
</span><span class="cx">     if (ec)
</span><span class="cx">         return 0;
</span><del>-    return openKeyCursor(context, keyRange.release(), direction, ec);
</del><ins>+    return openKeyCursor(context, keyRange.get(), direction, ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyIndex::get(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyIndex::get(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyIndex::get&quot;);
</span><span class="cx">     RefPtr&lt;IDBKeyRange&gt; keyRange = IDBKeyRange::only(context, key, ec);
</span><span class="cx">     if (ec)
</span><span class="cx">         return 0;
</span><del>-    return get(context, keyRange.release(), ec);
</del><ins>+    return get(context, keyRange.get(), ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyIndex::get(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; keyRange, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyIndex::get(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyIndex::get&quot;);
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -169,17 +169,17 @@
</span><span class="cx">     return request;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyIndex::getKey(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyIndex::getKey(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyIndex::getKey&quot;);
</span><span class="cx">     RefPtr&lt;IDBKeyRange&gt; keyRange = IDBKeyRange::only(context, key, ec);
</span><span class="cx">     if (ec)
</span><span class="cx">         return 0;
</span><span class="cx"> 
</span><del>-    return getKey(context, keyRange.release(), ec);
</del><ins>+    return getKey(context, keyRange.get(), ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyIndex::getKey(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; keyRange, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyIndex::getKey(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyIndex::getKey&quot;);
</span><span class="cx">     if (m_deleted) {
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyIndexh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyIndex.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyIndex.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyIndex.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -56,34 +56,34 @@
</span><span class="cx"> 
</span><span class="cx">     // Implement the IDL
</span><span class="cx">     virtual const String name() const override final { return m_metadata.name; }
</span><del>-    virtual PassRefPtr&lt;IDBObjectStore&gt; objectStore() const override final { return m_objectStore; }
-    PassRefPtr&lt;LegacyObjectStore&gt; legacyObjectStore() const { return m_objectStore; }
-    virtual PassRefPtr&lt;IDBAny&gt; keyPathAny() const override final { return LegacyAny::create(m_metadata.keyPath); }
</del><ins>+    virtual RefPtr&lt;IDBObjectStore&gt; objectStore() const override final { return m_objectStore; }
+    LegacyObjectStore* legacyObjectStore() const { return m_objectStore.get(); }
+    virtual RefPtr&lt;IDBAny&gt; keyPathAny() const override final { return LegacyAny::create(m_metadata.keyPath); }
</ins><span class="cx">     virtual const IDBKeyPath keyPath() const override final { return m_metadata.keyPath; }
</span><span class="cx">     virtual bool unique() const override final { return m_metadata.unique; }
</span><span class="cx">     virtual bool multiEntry() const override final { return m_metadata.multiEntry; }
</span><span class="cx">     virtual int64_t id() const override final { return m_metadata.id; }
</span><span class="cx"> 
</span><span class="cx">     // FIXME: Try to modify the code generator so this is unneeded.
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext* context, ExceptionCode&amp; ec) override final { return openCursor(context, static_cast&lt;IDBKeyRange*&gt;(nullptr), ec); }
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; keyRange, ExceptionCode&amp; ec) override final { return openCursor(context, keyRange, IDBCursor::directionNext(), ec); }
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec) override final { return openCursor(context, key, IDBCursor::directionNext(), ec); }
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, const String&amp; direction, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext* context, ExceptionCode&amp; ec) override final { return count(context, static_cast&lt;IDBKeyRange*&gt;(nullptr), ec); }
-    virtual PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) override final;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext* context, ExceptionCode&amp; ec) override final { return openCursor(context, static_cast&lt;IDBKeyRange*&gt;(nullptr), ec); }
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCode&amp; ec) override final { return openCursor(context, keyRange, IDBCursor::directionNext(), ec); }
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec) override final { return openCursor(context, key, IDBCursor::directionNext(), ec); }
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, IDBKeyRange*, const String&amp; direction, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext* context, ExceptionCode&amp; ec) override final { return count(context, static_cast&lt;IDBKeyRange*&gt;(nullptr), ec); }
+    virtual RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) override final;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext* context, ExceptionCode&amp; ec) override final { return openKeyCursor(context, static_cast&lt;IDBKeyRange*&gt;(nullptr), ec); }
-    virtual PassRefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; keyRange, ExceptionCode&amp; ec) override final { return openKeyCursor(context, keyRange, IDBCursor::directionNext(), ec); }
-    virtual PassRefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec) override final { return openKeyCursor(context, key, IDBCursor::directionNext(), ec); }
-    virtual PassRefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, const String&amp; direction, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;) override final;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext* context, ExceptionCode&amp; ec) override final { return openKeyCursor(context, static_cast&lt;IDBKeyRange*&gt;(nullptr), ec); }
+    virtual RefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCode&amp; ec) override final { return openKeyCursor(context, keyRange, IDBCursor::directionNext(), ec); }
+    virtual RefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec) override final { return openKeyCursor(context, key, IDBCursor::directionNext(), ec); }
+    virtual RefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, IDBKeyRange*, const String&amp; direction, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;IDBRequest&gt; openKeyCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;) override final;
</ins><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;IDBRequest&gt; getKey(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;) override final;
-    virtual PassRefPtr&lt;IDBRequest&gt; getKey(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) override final;
</del><ins>+    virtual RefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;IDBRequest&gt; getKey(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;) override final;
+    virtual RefPtr&lt;IDBRequest&gt; getKey(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;) override final;
</ins><span class="cx"> 
</span><span class="cx">     void markDeleted() { m_deleted = true; }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyObjectStorecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.cpp (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.cpp        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.cpp        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx">     relaxAdoptionRequirement();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;DOMStringList&gt; LegacyObjectStore::indexNames() const
</del><ins>+RefPtr&lt;DOMStringList&gt; LegacyObjectStore::indexNames() const
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::indexNames&quot;);
</span><span class="cx">     RefPtr&lt;DOMStringList&gt; indexNames = DOMStringList::create();
</span><span class="lines">@@ -68,7 +68,7 @@
</span><span class="cx">     return indexNames.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::get(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; keyRange, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::get(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::get&quot;);
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -88,39 +88,39 @@
</span><span class="cx">     return request.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::get(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::get(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;IDBKeyRange&gt; keyRange = IDBKeyRange::only(context, key, ec);
</span><span class="cx">     if (ec)
</span><span class="cx">         return 0;
</span><del>-    return get(context, keyRange.release(), ec);
</del><ins>+    return get(context, keyRange.get(), ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::add(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::add(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::add&quot;);
</span><span class="cx">     return put(IDBDatabaseBackend::AddOnly, LegacyAny::create(this), state, value, key, ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::add(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::add(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::add&quot;);
</span><span class="cx">     return put(IDBDatabaseBackend::AddOnly, LegacyAny::create(this), state, value, static_cast&lt;IDBKey*&gt;(nullptr), ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::put&quot;);
</span><span class="cx">     return put(IDBDatabaseBackend::AddOrUpdate, LegacyAny::create(this), state, value, key, ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::put&quot;);
</span><span class="cx">     return put(IDBDatabaseBackend::AddOrUpdate, LegacyAny::create(this), state, value, static_cast&lt;IDBKey*&gt;(nullptr), ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(IDBDatabaseBackend::PutMode putMode, PassRefPtr&lt;LegacyAny&gt; source, JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; keyValue, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(IDBDatabaseBackend::PutMode putMode, RefPtr&lt;LegacyAny&gt; source, JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, const Deprecated::ScriptValue&amp; keyValue, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     ScriptExecutionContext* context = scriptExecutionContextFromExecState(&amp;state);
</span><span class="cx">     DOMRequestState requestState(context);
</span><span class="lines">@@ -128,7 +128,7 @@
</span><span class="cx">     return put(putMode, source, state, value, key.release(), ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(IDBDatabaseBackend::PutMode putMode, PassRefPtr&lt;LegacyAny&gt; source, JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, PassRefPtr&lt;IDBKey&gt; prpKey, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::put(IDBDatabaseBackend::PutMode putMode, RefPtr&lt;LegacyAny&gt; source, JSC::ExecState&amp; state, Deprecated::ScriptValue&amp; value, RefPtr&lt;IDBKey&gt; prpKey, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;IDBKey&gt; key = prpKey;
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -220,7 +220,7 @@
</span><span class="cx">     return request.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::deleteFunction(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; keyRange, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::deleteFunction(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::delete&quot;);
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -245,15 +245,15 @@
</span><span class="cx">     return request.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::deleteFunction(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::deleteFunction(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;IDBKeyRange&gt; keyRange = IDBKeyRange::only(context, key, ec);
</span><span class="cx">     if (ec)
</span><span class="cx">         return 0;
</span><del>-    return deleteFunction(context, keyRange.release(), ec);
</del><ins>+    return deleteFunction(context, keyRange.get(), ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::clear(ScriptExecutionContext* context, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::clear(ScriptExecutionContext* context, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::clear&quot;);
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -282,7 +282,7 @@
</span><span class="cx"> // cursor success handlers are kept alive.
</span><span class="cx"> class IndexPopulator : public EventListener {
</span><span class="cx"> public:
</span><del>-    static Ref&lt;IndexPopulator&gt; create(PassRefPtr&lt;IDBDatabaseBackend&gt; backend, int64_t transactionId, int64_t objectStoreId, const IDBIndexMetadata&amp; indexMetadata)
</del><ins>+    static Ref&lt;IndexPopulator&gt; create(RefPtr&lt;IDBDatabaseBackend&gt; backend, int64_t transactionId, int64_t objectStoreId, const IDBIndexMetadata&amp; indexMetadata)
</ins><span class="cx">     {
</span><span class="cx">         return adoptRef(*new IndexPopulator(backend, transactionId, objectStoreId, indexMetadata));
</span><span class="cx">     }
</span><span class="lines">@@ -293,7 +293,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    IndexPopulator(PassRefPtr&lt;IDBDatabaseBackend&gt; backend, int64_t transactionId, int64_t objectStoreId, const IDBIndexMetadata&amp; indexMetadata)
</del><ins>+    IndexPopulator(RefPtr&lt;IDBDatabaseBackend&gt; backend, int64_t transactionId, int64_t objectStoreId, const IDBIndexMetadata&amp; indexMetadata)
</ins><span class="cx">         : EventListener(CPPEventListenerType)
</span><span class="cx">         , m_databaseBackend(backend)
</span><span class="cx">         , m_transactionId(transactionId)
</span><span class="lines">@@ -350,7 +350,7 @@
</span><span class="cx"> };
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBIndex&gt; LegacyObjectStore::createIndex(ScriptExecutionContext* context, const String&amp; name, const IDBKeyPath&amp; keyPath, const Dictionary&amp; options, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBIndex&gt; LegacyObjectStore::createIndex(ScriptExecutionContext* context, const String&amp; name, const IDBKeyPath&amp; keyPath, const Dictionary&amp; options, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     bool unique = false;
</span><span class="cx">     options.get(&quot;unique&quot;, unique);
</span><span class="lines">@@ -361,7 +361,7 @@
</span><span class="cx">     return createIndex(context, name, keyPath, unique, multiEntry, ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBIndex&gt; LegacyObjectStore::createIndex(ScriptExecutionContext* context, const String&amp; name, const IDBKeyPath&amp; keyPath, bool unique, bool multiEntry, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBIndex&gt; LegacyObjectStore::createIndex(ScriptExecutionContext* context, const String&amp; name, const IDBKeyPath&amp; keyPath, bool unique, bool multiEntry, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::createIndex&quot;);
</span><span class="cx">     if (!m_transaction-&gt;isVersionChange() || m_deleted) {
</span><span class="lines">@@ -408,7 +408,7 @@
</span><span class="cx">     return index.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBIndex&gt; LegacyObjectStore::index(const String&amp; name, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBIndex&gt; LegacyObjectStore::index(const String&amp; name, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::index&quot;);
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -472,27 +472,27 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     return openCursor(context, static_cast&lt;IDBKeyRange*&gt;(nullptr), ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; keyRange, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, IDBKeyRange* keyRange, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     return openCursor(context, keyRange, IDBCursor::directionNext(), ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     return openCursor(context, key, IDBCursor::directionNext(), ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; range, const String&amp; direction, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, IDBKeyRange* range, const String&amp; direction, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     return openCursor(context, range, direction, IDBDatabaseBackend::NormalTask, ec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; range, const String&amp; directionString, IDBDatabaseBackend::TaskType taskType, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, IDBKeyRange* range, const String&amp; directionString, IDBDatabaseBackend::TaskType taskType, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::openCursor&quot;);
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -514,15 +514,15 @@
</span><span class="cx">     return request.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::openCursor(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;IDBKeyRange&gt; keyRange = IDBKeyRange::only(context, key, ec);
</span><span class="cx">     if (ec)
</span><span class="cx">         return 0;
</span><del>-    return openCursor(context, keyRange.release(), direction, ec);
</del><ins>+    return openCursor(context, keyRange.get(), direction, ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::count(ScriptExecutionContext* context, PassRefPtr&lt;IDBKeyRange&gt; range, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::count(ScriptExecutionContext* context, IDBKeyRange* range, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;LegacyObjectStore::count&quot;);
</span><span class="cx">     if (m_deleted) {
</span><span class="lines">@@ -538,12 +538,12 @@
</span><span class="cx">     return request.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; LegacyObjectStore::count(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBRequest&gt; LegacyObjectStore::count(ScriptExecutionContext* context, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;IDBKeyRange&gt; keyRange = IDBKeyRange::only(context, key, ec);
</span><span class="cx">     if (ec)
</span><span class="cx">         return 0;
</span><del>-    return count(context, keyRange.release(), ec);
</del><ins>+    return count(context, keyRange.get(), ec);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void LegacyObjectStore::transactionFinished()
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyObjectStoreh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyObjectStore.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -38,7 +38,6 @@
</span><span class="cx"> #include &quot;LegacyTransaction.h&quot;
</span><span class="cx"> #include &quot;ScriptWrappable.h&quot;
</span><span class="cx"> #include &quot;SerializedScriptValue.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/text/WTFString.h&gt;
</span><span class="lines">@@ -62,43 +61,43 @@
</span><span class="cx">     // Implement the IDBObjectStore IDL
</span><span class="cx">     int64_t id() const { return m_metadata.id; }
</span><span class="cx">     const String name() const { return m_metadata.name; }
</span><del>-    PassRefPtr&lt;IDBAny&gt; keyPathAny() const { return LegacyAny::create(m_metadata.keyPath); }
</del><ins>+    RefPtr&lt;IDBAny&gt; keyPathAny() const { return LegacyAny::create(m_metadata.keyPath); }
</ins><span class="cx">     const IDBKeyPath keyPath() const { return m_metadata.keyPath; }
</span><del>-    PassRefPtr&lt;DOMStringList&gt; indexNames() const;
-    PassRefPtr&lt;IDBTransaction&gt; transaction() const { return m_transaction; }
</del><ins>+    RefPtr&lt;DOMStringList&gt; indexNames() const;
+    RefPtr&lt;IDBTransaction&gt; transaction() const { return m_transaction; }
</ins><span class="cx">     bool autoIncrement() const { return m_metadata.autoIncrement; }
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, const String&amp; direction, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, const String&amp; direction, IDBDatabaseBackend::TaskType, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;);
</del><ins>+    RefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, IDBKeyRange*, const String&amp; direction, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, IDBKeyRange*, const String&amp; direction, IDBDatabaseBackend::TaskType, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; openCursor(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, const String&amp; direction, ExceptionCode&amp;);
</ins><span class="cx"> 
</span><del>-    PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; put(IDBDatabaseBackend::PutMode, PassRefPtr&lt;LegacyAny&gt;, JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, PassRefPtr&lt;IDBKey&gt;, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; put(IDBDatabaseBackend::PutMode, PassRefPtr&lt;LegacyAny&gt; source, JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
</del><ins>+    RefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; get(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; add(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; put(JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; put(IDBDatabaseBackend::PutMode, RefPtr&lt;LegacyAny&gt;, JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, RefPtr&lt;IDBKey&gt;, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; put(IDBDatabaseBackend::PutMode, RefPtr&lt;LegacyAny&gt; source, JSC::ExecState&amp;, Deprecated::ScriptValue&amp;, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
</ins><span class="cx"> 
</span><del>-    PassRefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; clear(ScriptExecutionContext*, ExceptionCode&amp;);
</del><ins>+    RefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; deleteFunction(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; clear(ScriptExecutionContext*, ExceptionCode&amp;);
</ins><span class="cx"> 
</span><del>-    PassRefPtr&lt;IDBIndex&gt; createIndex(ScriptExecutionContext* context, const String&amp; name, const String&amp; keyPath, const Dictionary&amp; options, ExceptionCode&amp; ec) { return createIndex(context, name, IDBKeyPath(keyPath), options, ec); }
-    PassRefPtr&lt;IDBIndex&gt; createIndex(ScriptExecutionContext* context, const String&amp; name, const Vector&lt;String&gt;&amp; keyPath, const Dictionary&amp; options, ExceptionCode&amp; ec) { return createIndex(context, name, IDBKeyPath(keyPath), options, ec); }
-    PassRefPtr&lt;IDBIndex&gt; createIndex(ScriptExecutionContext*, const String&amp; name, const IDBKeyPath&amp;, const Dictionary&amp;, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBIndex&gt; createIndex(ScriptExecutionContext*, const String&amp; name, const IDBKeyPath&amp;, bool unique, bool multiEntry, ExceptionCode&amp;);
</del><ins>+    RefPtr&lt;IDBIndex&gt; createIndex(ScriptExecutionContext* context, const String&amp; name, const String&amp; keyPath, const Dictionary&amp; options, ExceptionCode&amp; ec) { return createIndex(context, name, IDBKeyPath(keyPath), options, ec); }
+    RefPtr&lt;IDBIndex&gt; createIndex(ScriptExecutionContext* context, const String&amp; name, const Vector&lt;String&gt;&amp; keyPath, const Dictionary&amp; options, ExceptionCode&amp; ec) { return createIndex(context, name, IDBKeyPath(keyPath), options, ec); }
+    RefPtr&lt;IDBIndex&gt; createIndex(ScriptExecutionContext*, const String&amp; name, const IDBKeyPath&amp;, const Dictionary&amp;, ExceptionCode&amp;);
+    RefPtr&lt;IDBIndex&gt; createIndex(ScriptExecutionContext*, const String&amp; name, const IDBKeyPath&amp;, bool unique, bool multiEntry, ExceptionCode&amp;);
</ins><span class="cx"> 
</span><del>-    PassRefPtr&lt;IDBIndex&gt; index(const String&amp; name, ExceptionCode&amp;);
</del><ins>+    RefPtr&lt;IDBIndex&gt; index(const String&amp; name, ExceptionCode&amp;);
</ins><span class="cx">     void deleteIndex(const String&amp; name, ExceptionCode&amp;);
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext* context, ExceptionCode&amp; ec) { return count(context, static_cast&lt;IDBKeyRange*&gt;(nullptr), ec); }
-    PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, PassRefPtr&lt;IDBKeyRange&gt;, ExceptionCode&amp;);
-    PassRefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
</del><ins>+    RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext* context, ExceptionCode&amp; ec) { return count(context, static_cast&lt;IDBKeyRange*&gt;(nullptr), ec); }
+    RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, IDBKeyRange*, ExceptionCode&amp;);
+    RefPtr&lt;IDBRequest&gt; count(ScriptExecutionContext*, const Deprecated::ScriptValue&amp; key, ExceptionCode&amp;);
</ins><span class="cx"> 
</span><span class="cx">     void markDeleted() { m_deleted = true; }
</span><span class="cx">     void transactionFinished();
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyRequestcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.cpp (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.cpp        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.cpp        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBAny&gt; LegacyRequest::result(ExceptionCode&amp; ec) const
</del><ins>+RefPtr&lt;IDBAny&gt; LegacyRequest::result(ExceptionCode&amp; ec) const
</ins><span class="cx"> {
</span><span class="cx">     if (m_readyState != DONE) {
</span><span class="cx">         ec = IDBDatabaseException::InvalidStateError;
</span><span class="lines">@@ -105,7 +105,7 @@
</span><span class="cx">     return m_result;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;DOMError&gt; LegacyRequest::error(ExceptionCode&amp; ec) const
</del><ins>+RefPtr&lt;DOMError&gt; LegacyRequest::error(ExceptionCode&amp; ec) const
</ins><span class="cx"> {
</span><span class="cx">     if (m_readyState != DONE) {
</span><span class="cx">         ec = IDBDatabaseException::InvalidStateError;
</span><span class="lines">@@ -123,12 +123,12 @@
</span><span class="cx">     return m_errorCode;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBAny&gt; LegacyRequest::source() const
</del><ins>+RefPtr&lt;IDBAny&gt; LegacyRequest::source() const
</ins><span class="cx"> {
</span><span class="cx">     return m_source;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBTransaction&gt; LegacyRequest::transaction() const
</del><ins>+RefPtr&lt;IDBTransaction&gt; LegacyRequest::transaction() const
</ins><span class="cx"> {
</span><span class="cx">     return m_transaction;
</span><span class="cx"> }
</span><span class="lines">@@ -296,7 +296,7 @@
</span><span class="cx">     RefPtr&lt;LegacyCursor&gt; cursor;
</span><span class="cx">     switch (m_cursorType) {
</span><span class="cx">     case IndexedDB::CursorType::KeyOnly:
</span><del>-        cursor = LegacyCursor::create(backend.release(), m_cursorDirection, this, m_source.get(), m_transaction.get());
</del><ins>+        cursor = LegacyCursor::create(backend.get(), m_cursorDirection, this, m_source.get(), m_transaction.get());
</ins><span class="cx">         break;
</span><span class="cx">     case IndexedDB::CursorType::KeyAndValue:
</span><span class="cx">         cursor = LegacyCursorWithValue::create(backend.release(), m_cursorDirection, this, m_source.get(), m_transaction.get());
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyRequesth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyRequest.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -58,12 +58,12 @@
</span><span class="cx">     static Ref&lt;LegacyRequest&gt; create(ScriptExecutionContext*, PassRefPtr&lt;LegacyAny&gt; source, IDBDatabaseBackend::TaskType, LegacyTransaction*);
</span><span class="cx">     virtual ~LegacyRequest();
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;IDBAny&gt; result(ExceptionCode&amp;) const override final;
</del><ins>+    virtual RefPtr&lt;IDBAny&gt; result(ExceptionCode&amp;) const override final;
</ins><span class="cx">     PassRefPtr&lt;LegacyAny&gt; legacyResult(ExceptionCode&amp;);
</span><span class="cx">     virtual unsigned short errorCode(ExceptionCode&amp;) const override final;
</span><del>-    virtual PassRefPtr&lt;DOMError&gt; error(ExceptionCode&amp;) const override final;
-    virtual PassRefPtr&lt;IDBAny&gt; source() const override final;
-    virtual PassRefPtr&lt;IDBTransaction&gt; transaction() const override final;
</del><ins>+    virtual RefPtr&lt;DOMError&gt; error(ExceptionCode&amp;) const override final;
+    virtual RefPtr&lt;IDBAny&gt; source() const override final;
+    virtual RefPtr&lt;IDBTransaction&gt; transaction() const override final;
</ins><span class="cx">     virtual const String&amp; readyState() const override final;
</span><span class="cx"> 
</span><span class="cx">     void preventPropagation() { m_preventPropagation = true; }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyTransactioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.cpp (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.cpp        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.cpp        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -113,7 +113,7 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBObjectStore&gt; LegacyTransaction::objectStore(const String&amp; name, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;IDBObjectStore&gt; LegacyTransaction::objectStore(const String&amp; name, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     if (m_state == Finished) {
</span><span class="cx">         ec = IDBDatabaseException::InvalidStateError;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddblegacyLegacyTransactionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.h (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.h        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/Modules/indexeddb/legacy/LegacyTransaction.h        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -67,8 +67,8 @@
</span><span class="cx"> 
</span><span class="cx">     virtual const String&amp; mode() const override final;
</span><span class="cx">     virtual IDBDatabase* db() const override final;
</span><del>-    virtual PassRefPtr&lt;DOMError&gt; error() const override final { return m_error; }
-    virtual PassRefPtr&lt;IDBObjectStore&gt; objectStore(const String&amp; name, ExceptionCode&amp;) override final;
</del><ins>+    virtual RefPtr&lt;DOMError&gt; error() const override final { return m_error; }
+    virtual RefPtr&lt;IDBObjectStore&gt; objectStore(const String&amp; name, ExceptionCode&amp;) override final;
</ins><span class="cx">     virtual void abort(ExceptionCode&amp;) override final;
</span><span class="cx"> 
</span><span class="cx">     class OpenCursorNotifier {
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorIndexedDBAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp (190249 => 190250)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp        2015-09-25 19:13:49 UTC (rev 190249)
+++ trunk/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp        2015-09-25 19:46:51 UTC (rev 190250)
</span><span class="lines">@@ -539,9 +539,9 @@
</span><span class="cx">                 return;
</span><span class="cx">             }
</span><span class="cx"> 
</span><del>-            idbRequest = idbIndex-&gt;openCursor(context(), m_idbKeyRange.copyRef(), ec);
</del><ins>+            idbRequest = idbIndex-&gt;openCursor(context(), m_idbKeyRange.get(), ec);
</ins><span class="cx">         } else
</span><del>-            idbRequest = idbObjectStore-&gt;openCursor(context(), m_idbKeyRange.copyRef(), ec);
</del><ins>+            idbRequest = idbObjectStore-&gt;openCursor(context(), m_idbKeyRange.get(), ec);
</ins><span class="cx">         idbRequest-&gt;addEventListener(eventNames().successEvent, WTF::move(openCursorCallback), false);
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>