<!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>[185091] trunk/Source</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/185091">185091</a></dd>
<dt>Author</dt> <dd>gyuyoung.kim@webkit.org</dd>
<dt>Date</dt> <dd>2015-06-01 18:04:32 -0700 (Mon, 01 Jun 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Purge PassRefPtr in WebCore/Modules - 3
https://bugs.webkit.org/show_bug.cgi?id=145508

Reviewed by Darin Adler.

As a step to purge PassRefPtr, this patch removes PassRefPtr, then use Ref or RefPtr.

* Modules/indexeddb/IDBCursor.cpp:
(WebCore::IDBCursor::create):
* Modules/indexeddb/IDBCursor.h:
* Modules/indexeddb/IDBCursorBackend.h:
(WebCore::IDBCursorBackend::create):
* Modules/indexeddb/IDBCursorBackendOperations.h:
(WebCore::CursorIterationOperation::create):
(WebCore::CursorAdvanceOperation::create):
* Modules/indexeddb/IDBDatabase.cpp:
(WebCore::IDBDatabase::create):
* Modules/indexeddb/IDBDatabase.h:
* Modules/indexeddb/IDBDatabaseBackend.cpp:
(WebCore::IDBDatabaseBackend::create):
* Modules/indexeddb/IDBDatabaseBackend.h:
* Modules/indexeddb/IDBDatabaseCallbacksImpl.cpp:
(WebCore::IDBDatabaseCallbacksImpl::create):
* Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
* Modules/indexeddb/IDBDatabaseError.h:
(WebCore::IDBDatabaseError::create):
* Modules/indexeddb/IDBIndex.h:
(WebCore::IDBIndex::create):
* Modules/indexeddb/IDBKey.h:
(WebCore::IDBKey::createInvalid):
(WebCore::IDBKey::createNumber):
(WebCore::IDBKey::createString):
(WebCore::IDBKey::createDate):
(WebCore::IDBKey::createArray):
* Modules/indexeddb/IDBKeyRange.cpp:
(WebCore::IDBKeyRange::create):
* Modules/indexeddb/IDBKeyRange.h:
(WebCore::IDBKeyRange::create):
* Modules/indexeddb/IDBObjectStore.cpp:
* Modules/indexeddb/IDBObjectStore.h:
(WebCore::IDBObjectStore::create):
* Modules/indexeddb/IDBOpenDBRequest.cpp:
(WebCore::IDBOpenDBRequest::create):
* Modules/indexeddb/IDBOpenDBRequest.h:
* Modules/indexeddb/IDBRecordIdentifier.h:
(WebCore::IDBRecordIdentifier::create):
* Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::create):
(WebCore::IDBRequest::getResultCursor):
* Modules/indexeddb/IDBRequest.h:
* Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::create):
* Modules/indexeddb/IDBTransaction.h:
* Modules/indexeddb/IDBTransactionBackend.cpp:
(WebCore::IDBTransactionBackend::create):
* Modules/indexeddb/IDBTransactionBackend.h:
* Modules/indexeddb/IDBTransactionBackendOperations.h:
(WebCore::CreateObjectStoreOperation::create):
(WebCore::DeleteObjectStoreOperation::create):
(WebCore::IDBDatabaseBackend::VersionChangeOperation::create):
(WebCore::CreateObjectStoreAbortOperation::create):
(WebCore::DeleteObjectStoreAbortOperation::create):
(WebCore::IDBDatabaseBackend::VersionChangeAbortOperation::create):
(WebCore::CreateIndexOperation::create):
(WebCore::CreateIndexAbortOperation::create):
(WebCore::DeleteIndexOperation::create):
(WebCore::DeleteIndexAbortOperation::create):
(WebCore::GetOperation::create):
(WebCore::PutOperation::create):
(WebCore::SetIndexesReadyOperation::create):
(WebCore::OpenCursorOperation::create):
(WebCore::CountOperation::create):
(WebCore::DeleteRangeOperation::create):
(WebCore::ClearObjectStoreOperation::create):
* Modules/mediasource/VideoPlaybackQuality.cpp:
(WebCore::VideoPlaybackQuality::create):
* Modules/mediasource/VideoPlaybackQuality.h:
* Modules/mediastream/MediaConstraintsImpl.cpp:
(WebCore::MediaConstraintsImpl::create):
* Modules/mediastream/MediaConstraintsImpl.h:
* Modules/mediastream/MediaStream.cpp:
(WebCore::MediaStream::create):
* Modules/mediastream/MediaStream.h:
* Modules/mediastream/RTCDTMFSender.cpp:
(WebCore::RTCDTMFSender::create):
* Modules/mediastream/RTCDTMFSender.h:
* Modules/mediastream/RTCOfferAnswerOptions.cpp:
(WebCore::RTCOfferAnswerOptions::create):
(WebCore::RTCOfferOptions::create):
* Modules/mediastream/RTCOfferAnswerOptions.h:
* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::parseConfiguration):
(WebCore::RTCPeerConnection::create):
* Modules/mediastream/RTCPeerConnection.h:
* Modules/webaudio/AudioContext.cpp:
(WebCore::AudioContext::create):
* Modules/webdatabase/AbstractDatabaseServer.h:
* Modules/webdatabase/DOMWindowWebDatabase.cpp:
(WebCore::DOMWindowWebDatabase::openDatabase):
* Modules/webdatabase/DOMWindowWebDatabase.h:
* Modules/webdatabase/DatabaseManager.cpp:
(WebCore::DatabaseManager::existingDatabaseContextFor):
(WebCore::DatabaseManager::databaseContextFor):
(WebCore::DatabaseManager::openDatabase):
* Modules/webdatabase/DatabaseManager.h:
* Modules/webdatabase/DatabaseServer.cpp:
(WebCore::DatabaseServer::openDatabase):
(WebCore::DatabaseServer::createDatabase):
* Modules/webdatabase/DatabaseServer.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBCursorcpp">trunk/Source/WebCore/Modules/indexeddb/IDBCursor.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBCursorh">trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBCursorBackendh">trunk/Source/WebCore/Modules/indexeddb/IDBCursorBackend.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBCursorBackendOperationsh">trunk/Source/WebCore/Modules/indexeddb/IDBCursorBackendOperations.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabasecpp">trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseh">trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseBackendcpp">trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseBackendh">trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseCallbacksImplcpp">trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseCallbacksImplh">trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseErrorh">trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseError.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBIndexh">trunk/Source/WebCore/Modules/indexeddb/IDBIndex.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBKeyh">trunk/Source/WebCore/Modules/indexeddb/IDBKey.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBKeyRangecpp">trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBKeyRangeh">trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBObjectStorecpp">trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBObjectStoreh">trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBOpenDBRequestcpp">trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBOpenDBRequesth">trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBRecordIdentifierh">trunk/Source/WebCore/Modules/indexeddb/IDBRecordIdentifier.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBRequestcpp">trunk/Source/WebCore/Modules/indexeddb/IDBRequest.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBRequesth">trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBTransactioncpp">trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBTransactionh">trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBTransactionBackendcpp">trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackend.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBTransactionBackendh">trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackend.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBTransactionBackendOperationsh">trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackendOperations.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediasourceVideoPlaybackQualitycpp">trunk/Source/WebCore/Modules/mediasource/VideoPlaybackQuality.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediasourceVideoPlaybackQualityh">trunk/Source/WebCore/Modules/mediasource/VideoPlaybackQuality.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaConstraintsImplcpp">trunk/Source/WebCore/Modules/mediastream/MediaConstraintsImpl.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaConstraintsImplh">trunk/Source/WebCore/Modules/mediastream/MediaConstraintsImpl.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaStreamcpp">trunk/Source/WebCore/Modules/mediastream/MediaStream.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaStreamh">trunk/Source/WebCore/Modules/mediastream/MediaStream.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCDTMFSendercpp">trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCDTMFSenderh">trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCOfferAnswerOptionscpp">trunk/Source/WebCore/Modules/mediastream/RTCOfferAnswerOptions.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCOfferAnswerOptionsh">trunk/Source/WebCore/Modules/mediastream/RTCOfferAnswerOptions.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCPeerConnectioncpp">trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCPeerConnectionh">trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioContextcpp">trunk/Source/WebCore/Modules/webaudio/AudioContext.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebdatabaseAbstractDatabaseServerh">trunk/Source/WebCore/Modules/webdatabase/AbstractDatabaseServer.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebdatabaseDOMWindowWebDatabasecpp">trunk/Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebdatabaseDOMWindowWebDatabaseh">trunk/Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebdatabaseDatabaseManagercpp">trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebdatabaseDatabaseManagerh">trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebdatabaseDatabaseServercpp">trunk/Source/WebCore/Modules/webdatabase/DatabaseServer.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebdatabaseDatabaseServerh">trunk/Source/WebCore/Modules/webdatabase/DatabaseServer.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessDatabasesIndexedDBWebIDBServerConnectioncpp">trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/ChangeLog        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -1,3 +1,115 @@
</span><ins>+2015-06-01  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
+
+        Purge PassRefPtr in WebCore/Modules - 3
+        https://bugs.webkit.org/show_bug.cgi?id=145508
+
+        Reviewed by Darin Adler.
+
+        As a step to purge PassRefPtr, this patch removes PassRefPtr, then use Ref or RefPtr.
+
+        * Modules/indexeddb/IDBCursor.cpp:
+        (WebCore::IDBCursor::create):
+        * Modules/indexeddb/IDBCursor.h:
+        * Modules/indexeddb/IDBCursorBackend.h:
+        (WebCore::IDBCursorBackend::create):
+        * Modules/indexeddb/IDBCursorBackendOperations.h:
+        (WebCore::CursorIterationOperation::create):
+        (WebCore::CursorAdvanceOperation::create):
+        * Modules/indexeddb/IDBDatabase.cpp:
+        (WebCore::IDBDatabase::create):
+        * Modules/indexeddb/IDBDatabase.h:
+        * Modules/indexeddb/IDBDatabaseBackend.cpp:
+        (WebCore::IDBDatabaseBackend::create):
+        * Modules/indexeddb/IDBDatabaseBackend.h:
+        * Modules/indexeddb/IDBDatabaseCallbacksImpl.cpp:
+        (WebCore::IDBDatabaseCallbacksImpl::create):
+        * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
+        * Modules/indexeddb/IDBDatabaseError.h:
+        (WebCore::IDBDatabaseError::create):
+        * Modules/indexeddb/IDBIndex.h:
+        (WebCore::IDBIndex::create):
+        * Modules/indexeddb/IDBKey.h:
+        (WebCore::IDBKey::createInvalid):
+        (WebCore::IDBKey::createNumber):
+        (WebCore::IDBKey::createString):
+        (WebCore::IDBKey::createDate):
+        (WebCore::IDBKey::createArray):
+        * Modules/indexeddb/IDBKeyRange.cpp:
+        (WebCore::IDBKeyRange::create):
+        * Modules/indexeddb/IDBKeyRange.h:
+        (WebCore::IDBKeyRange::create):
+        * Modules/indexeddb/IDBObjectStore.cpp:
+        * Modules/indexeddb/IDBObjectStore.h:
+        (WebCore::IDBObjectStore::create):
+        * Modules/indexeddb/IDBOpenDBRequest.cpp:
+        (WebCore::IDBOpenDBRequest::create):
+        * Modules/indexeddb/IDBOpenDBRequest.h:
+        * Modules/indexeddb/IDBRecordIdentifier.h:
+        (WebCore::IDBRecordIdentifier::create):
+        * Modules/indexeddb/IDBRequest.cpp:
+        (WebCore::IDBRequest::create):
+        (WebCore::IDBRequest::getResultCursor):
+        * Modules/indexeddb/IDBRequest.h:
+        * Modules/indexeddb/IDBTransaction.cpp:
+        (WebCore::IDBTransaction::create):
+        * Modules/indexeddb/IDBTransaction.h:
+        * Modules/indexeddb/IDBTransactionBackend.cpp:
+        (WebCore::IDBTransactionBackend::create):
+        * Modules/indexeddb/IDBTransactionBackend.h:
+        * Modules/indexeddb/IDBTransactionBackendOperations.h:
+        (WebCore::CreateObjectStoreOperation::create):
+        (WebCore::DeleteObjectStoreOperation::create):
+        (WebCore::IDBDatabaseBackend::VersionChangeOperation::create):
+        (WebCore::CreateObjectStoreAbortOperation::create):
+        (WebCore::DeleteObjectStoreAbortOperation::create):
+        (WebCore::IDBDatabaseBackend::VersionChangeAbortOperation::create):
+        (WebCore::CreateIndexOperation::create):
+        (WebCore::CreateIndexAbortOperation::create):
+        (WebCore::DeleteIndexOperation::create):
+        (WebCore::DeleteIndexAbortOperation::create):
+        (WebCore::GetOperation::create):
+        (WebCore::PutOperation::create):
+        (WebCore::SetIndexesReadyOperation::create):
+        (WebCore::OpenCursorOperation::create):
+        (WebCore::CountOperation::create):
+        (WebCore::DeleteRangeOperation::create):
+        (WebCore::ClearObjectStoreOperation::create):
+        * Modules/mediasource/VideoPlaybackQuality.cpp:
+        (WebCore::VideoPlaybackQuality::create):
+        * Modules/mediasource/VideoPlaybackQuality.h:
+        * Modules/mediastream/MediaConstraintsImpl.cpp:
+        (WebCore::MediaConstraintsImpl::create):
+        * Modules/mediastream/MediaConstraintsImpl.h:
+        * Modules/mediastream/MediaStream.cpp:
+        (WebCore::MediaStream::create):
+        * Modules/mediastream/MediaStream.h:
+        * Modules/mediastream/RTCDTMFSender.cpp:
+        (WebCore::RTCDTMFSender::create):
+        * Modules/mediastream/RTCDTMFSender.h:
+        * Modules/mediastream/RTCOfferAnswerOptions.cpp:
+        (WebCore::RTCOfferAnswerOptions::create):
+        (WebCore::RTCOfferOptions::create):
+        * Modules/mediastream/RTCOfferAnswerOptions.h:
+        * Modules/mediastream/RTCPeerConnection.cpp:
+        (WebCore::RTCPeerConnection::parseConfiguration):
+        (WebCore::RTCPeerConnection::create):
+        * Modules/mediastream/RTCPeerConnection.h:
+        * Modules/webaudio/AudioContext.cpp:
+        (WebCore::AudioContext::create):
+        * Modules/webdatabase/AbstractDatabaseServer.h:
+        * Modules/webdatabase/DOMWindowWebDatabase.cpp:
+        (WebCore::DOMWindowWebDatabase::openDatabase):
+        * Modules/webdatabase/DOMWindowWebDatabase.h:
+        * Modules/webdatabase/DatabaseManager.cpp:
+        (WebCore::DatabaseManager::existingDatabaseContextFor):
+        (WebCore::DatabaseManager::databaseContextFor):
+        (WebCore::DatabaseManager::openDatabase):
+        * Modules/webdatabase/DatabaseManager.h:
+        * Modules/webdatabase/DatabaseServer.cpp:
+        (WebCore::DatabaseServer::openDatabase):
+        (WebCore::DatabaseServer::createDatabase):
+        * Modules/webdatabase/DatabaseServer.h:
+
</ins><span class="cx"> 2015-06-01  Daniel Bates  &lt;dabates@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Notify client that we began editing when text field is focused
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBCursorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursor.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBCursor.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursor.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -43,9 +43,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBCursor&gt; IDBCursor::create(PassRefPtr&lt;IDBCursorBackend&gt; backend, IndexedDB::CursorDirection direction, IDBRequest* request, IDBAny* source, IDBTransaction* transaction)
</del><ins>+Ref&lt;IDBCursor&gt; IDBCursor::create(PassRefPtr&lt;IDBCursorBackend&gt; backend, IndexedDB::CursorDirection direction, IDBRequest* request, IDBAny* source, IDBTransaction* transaction)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new IDBCursor(backend, direction, request, source, transaction));
</del><ins>+    return adoptRef(*new IDBCursor(backend, direction, request, source, transaction));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const AtomicString&amp; IDBCursor::directionNext()
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBCursorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursor.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx">     static IndexedDB::CursorDirection stringToDirection(const String&amp; modeString, ExceptionCode&amp;);
</span><span class="cx">     static const AtomicString&amp; directionToString(IndexedDB::CursorDirection mode);
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;IDBCursor&gt; create(PassRefPtr&lt;IDBCursorBackend&gt;, IndexedDB::CursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*);
</del><ins>+    static Ref&lt;IDBCursor&gt; create(PassRefPtr&lt;IDBCursorBackend&gt;, IndexedDB::CursorDirection, IDBRequest*, IDBAny* source, IDBTransaction*);
</ins><span class="cx">     virtual ~IDBCursor();
</span><span class="cx"> 
</span><span class="cx">     // Implement the IDL
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBCursorBackendh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursorBackend.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBCursorBackend.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursorBackend.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -40,13 +40,13 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBCursorBackend : public RefCounted&lt;IDBCursorBackend&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBCursorBackend&gt; create(int64_t cursorID, IndexedDB::CursorType cursorType, IDBTransactionBackend&amp; transaction, int64_t objectStoreID)
</del><ins>+    static Ref&lt;IDBCursorBackend&gt; create(int64_t cursorID, IndexedDB::CursorType cursorType, IDBTransactionBackend&amp; transaction, int64_t objectStoreID)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBCursorBackend(cursorID, cursorType, IDBDatabaseBackend::NormalTask, transaction, objectStoreID));
</del><ins>+        return adoptRef(*new IDBCursorBackend(cursorID, cursorType, IDBDatabaseBackend::NormalTask, transaction, objectStoreID));
</ins><span class="cx">     }
</span><del>-    static PassRefPtr&lt;IDBCursorBackend&gt; create(int64_t cursorID, IndexedDB::CursorType cursorType, IDBDatabaseBackend::TaskType taskType, IDBTransactionBackend&amp; transaction, int64_t objectStoreID)
</del><ins>+    static Ref&lt;IDBCursorBackend&gt; create(int64_t cursorID, IndexedDB::CursorType cursorType, IDBDatabaseBackend::TaskType taskType, IDBTransactionBackend&amp; transaction, int64_t objectStoreID)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBCursorBackend(cursorID, cursorType, taskType, transaction, objectStoreID));
</del><ins>+        return adoptRef(*new IDBCursorBackend(cursorID, cursorType, taskType, transaction, objectStoreID));
</ins><span class="cx">     }
</span><span class="cx">     ~IDBCursorBackend();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBCursorBackendOperationsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursorBackendOperations.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBCursorBackendOperations.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursorBackendOperations.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -36,9 +36,9 @@
</span><span class="cx"> 
</span><span class="cx"> class CursorIterationOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(PassRefPtr&lt;IDBCursorBackend&gt; cursor, PassRefPtr&lt;IDBKey&gt; key, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(PassRefPtr&lt;IDBCursorBackend&gt; cursor, PassRefPtr&lt;IDBKey&gt; key, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new CursorIterationOperation(cursor, key, callbacks));
</del><ins>+        return adoptRef(*new CursorIterationOperation(cursor, key, callbacks));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; completionCallback) override final;
</span><span class="cx"> 
</span><span class="lines">@@ -60,9 +60,9 @@
</span><span class="cx"> 
</span><span class="cx"> class CursorAdvanceOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(PassRefPtr&lt;IDBCursorBackend&gt; cursor, unsigned long count, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(PassRefPtr&lt;IDBCursorBackend&gt; cursor, unsigned long count, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new CursorAdvanceOperation(cursor, count, callbacks));
</del><ins>+        return adoptRef(*new CursorAdvanceOperation(cursor, count, callbacks));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; completionCallback) override final;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -50,11 +50,11 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBDatabase&gt; IDBDatabase::create(ScriptExecutionContext* context, PassRefPtr&lt;IDBDatabaseBackend&gt; database, PassRefPtr&lt;IDBDatabaseCallbacks&gt; callbacks)
</del><ins>+Ref&lt;IDBDatabase&gt; IDBDatabase::create(ScriptExecutionContext* context, PassRefPtr&lt;IDBDatabaseBackend&gt; database, PassRefPtr&lt;IDBDatabaseCallbacks&gt; callbacks)
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;IDBDatabase&gt; idbDatabase(adoptRef(new IDBDatabase(context, database, callbacks)));
</del><ins>+    Ref&lt;IDBDatabase&gt; idbDatabase(adoptRef(*new IDBDatabase(context, database, callbacks)));
</ins><span class="cx">     idbDatabase-&gt;suspendIfNeeded();
</span><del>-    return idbDatabase.release();
</del><ins>+    return idbDatabase;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> IDBDatabase::IDBDatabase(ScriptExecutionContext* context, PassRefPtr&lt;IDBDatabaseBackend&gt; backend, PassRefPtr&lt;IDBDatabaseCallbacks&gt; callbacks)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBDatabase final : public RefCounted&lt;IDBDatabase&gt;, public ScriptWrappable, public EventTargetWithInlineData, public ActiveDOMObject {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBDatabase&gt; create(ScriptExecutionContext*, PassRefPtr&lt;IDBDatabaseBackend&gt;, PassRefPtr&lt;IDBDatabaseCallbacks&gt;);
</del><ins>+    static Ref&lt;IDBDatabase&gt; create(ScriptExecutionContext*, PassRefPtr&lt;IDBDatabaseBackend&gt;, PassRefPtr&lt;IDBDatabaseCallbacks&gt;);
</ins><span class="cx">     ~IDBDatabase();
</span><span class="cx"> 
</span><span class="cx">     void setMetadata(const IDBDatabaseMetadata&amp; metadata) { m_metadata = metadata; }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseBackendcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -43,12 +43,12 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBDatabaseBackend&gt; IDBDatabaseBackend::create(const String&amp; name, const String&amp; uniqueIdentifier, IDBFactoryBackendInterface* factory, IDBServerConnection&amp; serverConnection)
</del><ins>+Ref&lt;IDBDatabaseBackend&gt; IDBDatabaseBackend::create(const String&amp; name, const String&amp; uniqueIdentifier, IDBFactoryBackendInterface* factory, IDBServerConnection&amp; serverConnection)
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;IDBDatabaseBackend&gt; backend = adoptRef(new IDBDatabaseBackend(name, uniqueIdentifier, factory, serverConnection));
</del><ins>+    Ref&lt;IDBDatabaseBackend&gt; backend = adoptRef(*new IDBDatabaseBackend(name, uniqueIdentifier, factory, serverConnection));
</ins><span class="cx">     backend-&gt;openInternalAsync();
</span><span class="cx">     
</span><del>-    return backend.release();
</del><ins>+    return backend;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> IDBDatabaseBackend::IDBDatabaseBackend(const String&amp; name, const String&amp; uniqueIdentifier, IDBFactoryBackendInterface* factory, IDBServerConnection&amp; serverConnection)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseBackendh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBDatabaseBackend : public RefCounted&lt;IDBDatabaseBackend&gt; {
</span><span class="cx"> public:
</span><del>-    WEBCORE_EXPORT static PassRefPtr&lt;IDBDatabaseBackend&gt; create(const String&amp; name, const String&amp; uniqueIdentifier, IDBFactoryBackendInterface*, IDBServerConnection&amp;);
</del><ins>+    WEBCORE_EXPORT static Ref&lt;IDBDatabaseBackend&gt; create(const String&amp; name, const String&amp; uniqueIdentifier, IDBFactoryBackendInterface*, IDBServerConnection&amp;);
</ins><span class="cx">     WEBCORE_EXPORT ~IDBDatabaseBackend();
</span><span class="cx"> 
</span><span class="cx">     IDBServerConnection&amp; serverConnection() { return m_serverConnection.get(); }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseCallbacksImplcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -32,9 +32,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBDatabaseCallbacksImpl&gt; IDBDatabaseCallbacksImpl::create()
</del><ins>+Ref&lt;IDBDatabaseCallbacksImpl&gt; IDBDatabaseCallbacksImpl::create()
</ins><span class="cx"> {
</span><del>-    return adoptRef(new IDBDatabaseCallbacksImpl());
</del><ins>+    return adoptRef(*new IDBDatabaseCallbacksImpl());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> IDBDatabaseCallbacksImpl::IDBDatabaseCallbacksImpl()
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseCallbacksImplh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseCallbacksImpl.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBDatabaseCallbacksImpl final : public IDBDatabaseCallbacks {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBDatabaseCallbacksImpl&gt; create();
</del><ins>+    static Ref&lt;IDBDatabaseCallbacksImpl&gt; create();
</ins><span class="cx">     virtual ~IDBDatabaseCallbacksImpl() override;
</span><span class="cx"> 
</span><span class="cx">     // IDBDatabaseCallbacks
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseErrorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseError.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseError.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseError.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -37,18 +37,18 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBDatabaseError : public RefCounted&lt;IDBDatabaseError&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBDatabaseError&gt; create(unsigned short code)
</del><ins>+    static Ref&lt;IDBDatabaseError&gt; create(unsigned short code)
</ins><span class="cx">     {
</span><span class="cx">         ASSERT(code &gt;= IDBDatabaseException::IDBDatabaseExceptionOffset);
</span><span class="cx">         ASSERT(code &lt; IDBDatabaseException::IDBDatabaseExceptionMax);
</span><del>-        return adoptRef(new IDBDatabaseError(code));
</del><ins>+        return adoptRef(*new IDBDatabaseError(code));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;IDBDatabaseError&gt; create(unsigned short code, const String&amp; message)
</del><ins>+    static Ref&lt;IDBDatabaseError&gt; create(unsigned short code, const String&amp; message)
</ins><span class="cx">     {
</span><span class="cx">         ASSERT_WITH_MESSAGE(code &gt;= IDBDatabaseException::IDBDatabaseExceptionOffset, &quot;%d &gt;= %d&quot;, code, IDBDatabaseException::IDBDatabaseExceptionOffset);
</span><span class="cx">         ASSERT(code &lt; IDBDatabaseException::IDBDatabaseExceptionMax);
</span><del>-        return adoptRef(new IDBDatabaseError(code, message));
</del><ins>+        return adoptRef(*new IDBDatabaseError(code, message));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     ~IDBDatabaseError() { }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBIndexh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBIndex.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBIndex.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBIndex.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -45,9 +45,9 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBIndex : public ScriptWrappable, public RefCounted&lt;IDBIndex&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBIndex&gt; create(const IDBIndexMetadata&amp; metadata, IDBObjectStore* objectStore, IDBTransaction* transaction)
</del><ins>+    static Ref&lt;IDBIndex&gt; create(const IDBIndexMetadata&amp; metadata, IDBObjectStore* objectStore, IDBTransaction* transaction)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBIndex(metadata, objectStore, transaction));
</del><ins>+        return adoptRef(*new IDBIndex(metadata, objectStore, transaction));
</ins><span class="cx">     }
</span><span class="cx">     ~IDBIndex();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBKeyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBKey.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBKey.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBKey.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -39,24 +39,24 @@
</span><span class="cx"> public:
</span><span class="cx">     typedef Vector&lt;RefPtr&lt;IDBKey&gt;&gt; KeyArray;
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;IDBKey&gt; createInvalid()
</del><ins>+    static Ref&lt;IDBKey&gt; createInvalid()
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBKey());
</del><ins>+        return adoptRef(*new IDBKey());
</ins><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;IDBKey&gt; createNumber(double number)
</del><ins>+    static Ref&lt;IDBKey&gt; createNumber(double number)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBKey(NumberType, number));
</del><ins>+        return adoptRef(*new IDBKey(NumberType, number));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;IDBKey&gt; createString(const String&amp; string)
</del><ins>+    static Ref&lt;IDBKey&gt; createString(const String&amp; string)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBKey(string));
</del><ins>+        return adoptRef(*new IDBKey(string));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;IDBKey&gt; createDate(double date)
</del><ins>+    static Ref&lt;IDBKey&gt; createDate(double date)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBKey(DateType, date));
</del><ins>+        return adoptRef(*new IDBKey(DateType, date));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static PassRefPtr&lt;IDBKey&gt; createMultiEntryArray(const KeyArray&amp; array)
</span><span class="lines">@@ -85,13 +85,13 @@
</span><span class="cx">         return idbKey.release();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;IDBKey&gt; createArray(const KeyArray&amp; array)
</del><ins>+    static Ref&lt;IDBKey&gt; createArray(const KeyArray&amp; array)
</ins><span class="cx">     {
</span><span class="cx">         size_t sizeEstimate = 0;
</span><span class="cx">         for (size_t i = 0; i &lt; array.size(); ++i)
</span><span class="cx">             sizeEstimate += array[i]-&gt;m_sizeEstimate;
</span><span class="cx"> 
</span><del>-        return adoptRef(new IDBKey(array, sizeEstimate));
</del><ins>+        return adoptRef(*new IDBKey(array, sizeEstimate));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     WEBCORE_EXPORT ~IDBKey();
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBKeyRangecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -35,10 +35,10 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBKeyRange&gt; IDBKeyRange::create(PassRefPtr&lt;IDBKey&gt; prpKey)
</del><ins>+Ref&lt;IDBKeyRange&gt; IDBKeyRange::create(PassRefPtr&lt;IDBKey&gt; prpKey)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;IDBKey&gt; key = prpKey;
</span><del>-    return adoptRef(new IDBKeyRange(key, key, LowerBoundClosed, UpperBoundClosed));
</del><ins>+    return adoptRef(*new IDBKeyRange(key, key, LowerBoundClosed, UpperBoundClosed));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> IDBKeyRange::IDBKeyRange(PassRefPtr&lt;IDBKey&gt; lower, PassRefPtr&lt;IDBKey&gt; upper, LowerBoundType lowerType, UpperBoundType upperType)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBKeyRangeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -49,11 +49,11 @@
</span><span class="cx">         UpperBoundClosed
</span><span class="cx">     };
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;IDBKeyRange&gt; create(PassRefPtr&lt;IDBKey&gt; lower, PassRefPtr&lt;IDBKey&gt; upper, LowerBoundType lowerType, UpperBoundType upperType)
</del><ins>+    static Ref&lt;IDBKeyRange&gt; create(PassRefPtr&lt;IDBKey&gt; lower, PassRefPtr&lt;IDBKey&gt; upper, LowerBoundType lowerType, UpperBoundType upperType)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBKeyRange(lower, upper, lowerType, upperType));
</del><ins>+        return adoptRef(*new IDBKeyRange(lower, upper, lowerType, upperType));
</ins><span class="cx">     }
</span><del>-    static PassRefPtr&lt;IDBKeyRange&gt; create(PassRefPtr&lt;IDBKey&gt; prpKey);
</del><ins>+    static Ref&lt;IDBKeyRange&gt; create(PassRefPtr&lt;IDBKey&gt; prpKey);
</ins><span class="cx">     ~IDBKeyRange() { }
</span><span class="cx"> 
</span><span class="cx">     PassRefPtr&lt;IDBKey&gt; lower() const { return m_lower; }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBObjectStorecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -281,9 +281,9 @@
</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 PassRefPtr&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(PassRefPtr&lt;IDBDatabaseBackend&gt; backend, int64_t transactionId, int64_t objectStoreId, const IDBIndexMetadata&amp; indexMetadata)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IndexPopulator(backend, transactionId, objectStoreId, indexMetadata));
</del><ins>+        return adoptRef(*new IndexPopulator(backend, transactionId, objectStoreId, indexMetadata));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     virtual bool operator==(const EventListener&amp; other)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBObjectStoreh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -50,9 +50,9 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBObjectStore : public ScriptWrappable, public RefCounted&lt;IDBObjectStore&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBObjectStore&gt; create(const IDBObjectStoreMetadata&amp; metadata, IDBTransaction* transaction)
</del><ins>+    static Ref&lt;IDBObjectStore&gt; create(const IDBObjectStoreMetadata&amp; metadata, IDBTransaction* transaction)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBObjectStore(metadata, transaction));
</del><ins>+        return adoptRef(*new IDBObjectStore(metadata, transaction));
</ins><span class="cx">     }
</span><span class="cx">     ~IDBObjectStore() { }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBOpenDBRequestcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -37,11 +37,11 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBOpenDBRequest&gt; IDBOpenDBRequest::create(ScriptExecutionContext* context, PassRefPtr&lt;IDBDatabaseCallbacks&gt; callbacks, int64_t transactionId, uint64_t version, IndexedDB::VersionNullness versionNullness)
</del><ins>+Ref&lt;IDBOpenDBRequest&gt; IDBOpenDBRequest::create(ScriptExecutionContext* context, PassRefPtr&lt;IDBDatabaseCallbacks&gt; callbacks, int64_t transactionId, uint64_t version, IndexedDB::VersionNullness versionNullness)
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;IDBOpenDBRequest&gt; request(adoptRef(new IDBOpenDBRequest(context, callbacks, transactionId, version, versionNullness)));
</del><ins>+    Ref&lt;IDBOpenDBRequest&gt; request(adoptRef(*new IDBOpenDBRequest(context, callbacks, transactionId, version, versionNullness)));
</ins><span class="cx">     request-&gt;suspendIfNeeded();
</span><del>-    return request.release();
</del><ins>+    return request;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> IDBOpenDBRequest::IDBOpenDBRequest(ScriptExecutionContext* context, PassRefPtr&lt;IDBDatabaseCallbacks&gt; callbacks, int64_t transactionId, uint64_t version, IndexedDB::VersionNullness versionNullness)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBOpenDBRequesth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBOpenDBRequest : public IDBRequest {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOpenDBRequest&gt; create(ScriptExecutionContext*, PassRefPtr&lt;IDBDatabaseCallbacks&gt;, int64_t transactionId, uint64_t version, IndexedDB::VersionNullness);
</del><ins>+    static Ref&lt;IDBOpenDBRequest&gt; create(ScriptExecutionContext*, PassRefPtr&lt;IDBDatabaseCallbacks&gt;, int64_t transactionId, uint64_t version, IndexedDB::VersionNullness);
</ins><span class="cx">     virtual ~IDBOpenDBRequest();
</span><span class="cx"> 
</span><span class="cx">     using IDBRequest::onSuccess;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBRecordIdentifierh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBRecordIdentifier.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBRecordIdentifier.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBRecordIdentifier.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -37,14 +37,14 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBRecordIdentifier : public RefCounted&lt;IDBRecordIdentifier&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBRecordIdentifier&gt; create(const Vector&lt;char&gt;&amp; encodedPrimaryKey, int64_t version)
</del><ins>+    static Ref&lt;IDBRecordIdentifier&gt; create(const Vector&lt;char&gt;&amp; encodedPrimaryKey, int64_t version)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBRecordIdentifier(encodedPrimaryKey, version));
</del><ins>+        return adoptRef(*new IDBRecordIdentifier(encodedPrimaryKey, version));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;IDBRecordIdentifier&gt; create()
</del><ins>+    static Ref&lt;IDBRecordIdentifier&gt; create()
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBRecordIdentifier);
</del><ins>+        return adoptRef(*new IDBRecordIdentifier);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     const Vector&lt;char&gt;&amp; encodedPrimaryKey() const { return m_encodedPrimaryKey; }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBRequestcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBRequest.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBRequest.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBRequest.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -48,24 +48,24 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; IDBRequest::create(ScriptExecutionContext* context, PassRefPtr&lt;IDBAny&gt; source, IDBTransaction* transaction)
</del><ins>+Ref&lt;IDBRequest&gt; IDBRequest::create(ScriptExecutionContext* context, PassRefPtr&lt;IDBAny&gt; source, IDBTransaction* transaction)
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;IDBRequest&gt; request(adoptRef(new IDBRequest(context, source, IDBDatabaseBackend::NormalTask, transaction)));
</del><ins>+    Ref&lt;IDBRequest&gt; request(adoptRef(*new IDBRequest(context, source, IDBDatabaseBackend::NormalTask, transaction)));
</ins><span class="cx">     request-&gt;suspendIfNeeded();
</span><span class="cx">     // Requests associated with IDBFactory (open/deleteDatabase/getDatabaseNames) are not associated with transactions.
</span><span class="cx">     if (transaction)
</span><del>-        transaction-&gt;registerRequest(request.get());
-    return request.release();
</del><ins>+        transaction-&gt;registerRequest(request.ptr());
+    return request;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBRequest&gt; IDBRequest::create(ScriptExecutionContext* context, PassRefPtr&lt;IDBAny&gt; source, IDBDatabaseBackend::TaskType taskType, IDBTransaction* transaction)
</del><ins>+Ref&lt;IDBRequest&gt; IDBRequest::create(ScriptExecutionContext* context, PassRefPtr&lt;IDBAny&gt; source, IDBDatabaseBackend::TaskType taskType, IDBTransaction* transaction)
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;IDBRequest&gt; request(adoptRef(new IDBRequest(context, source, taskType, transaction)));
</del><ins>+    Ref&lt;IDBRequest&gt; request(adoptRef(*new IDBRequest(context, source, taskType, transaction)));
</ins><span class="cx">     request-&gt;suspendIfNeeded();
</span><span class="cx">     // Requests associated with IDBFactory (open/deleteDatabase/getDatabaseNames) are not associated with transactions.
</span><span class="cx">     if (transaction)
</span><del>-        transaction-&gt;registerRequest(request.get());
-    return request.release();
</del><ins>+        transaction-&gt;registerRequest(request.ptr());
+    return request;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> IDBRequest::IDBRequest(ScriptExecutionContext* context, PassRefPtr&lt;IDBAny&gt; source, IDBDatabaseBackend::TaskType taskType, IDBTransaction* transaction)
</span><span class="lines">@@ -202,15 +202,15 @@
</span><span class="cx">     m_transaction-&gt;registerRequest(this);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBCursor&gt; IDBRequest::getResultCursor()
</del><ins>+RefPtr&lt;IDBCursor&gt; IDBRequest::getResultCursor()
</ins><span class="cx"> {
</span><span class="cx">     if (!m_result)
</span><del>-        return 0;
</del><ins>+        return nullptr;
</ins><span class="cx">     if (m_result-&gt;type() == IDBAny::IDBCursorType)
</span><span class="cx">         return m_result-&gt;idbCursor();
</span><span class="cx">     if (m_result-&gt;type() == IDBAny::IDBCursorWithValueType)
</span><span class="cx">         return m_result-&gt;idbCursorWithValue();
</span><del>-    return 0;
</del><ins>+    return nullptr;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void IDBRequest::setResultCursor(PassRefPtr&lt;IDBCursor&gt; cursor, PassRefPtr&lt;IDBKey&gt; key, PassRefPtr&lt;IDBKey&gt; primaryKey, const Deprecated::ScriptValue&amp; value)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBRequesth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -53,8 +53,8 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBRequest : public ScriptWrappable, public IDBCallbacks, public EventTargetWithInlineData, public ActiveDOMObject {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBRequest&gt; create(ScriptExecutionContext*, PassRefPtr&lt;IDBAny&gt; source, IDBTransaction*);
-    static PassRefPtr&lt;IDBRequest&gt; create(ScriptExecutionContext*, PassRefPtr&lt;IDBAny&gt; source, IDBDatabaseBackend::TaskType, IDBTransaction*);
</del><ins>+    static Ref&lt;IDBRequest&gt; create(ScriptExecutionContext*, PassRefPtr&lt;IDBAny&gt; source, IDBTransaction*);
+    static Ref&lt;IDBRequest&gt; create(ScriptExecutionContext*, PassRefPtr&lt;IDBAny&gt; source, IDBDatabaseBackend::TaskType, IDBTransaction*);
</ins><span class="cx">     virtual ~IDBRequest();
</span><span class="cx"> 
</span><span class="cx">     PassRefPtr&lt;IDBAny&gt; result(ExceptionCode&amp;) const;
</span><span class="lines">@@ -136,7 +136,7 @@
</span><span class="cx">     virtual void refEventTarget() override final { ref(); }
</span><span class="cx">     virtual void derefEventTarget() override final { deref(); }
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;IDBCursor&gt; getResultCursor();
</del><ins>+    RefPtr&lt;IDBCursor&gt; getResultCursor();
</ins><span class="cx">     void setResultCursor(PassRefPtr&lt;IDBCursor&gt;, PassRefPtr&lt;IDBKey&gt;, PassRefPtr&lt;IDBKey&gt; primaryKey, const Deprecated::ScriptValue&amp;);
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;IDBAny&gt; m_source;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBTransactioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -43,19 +43,19 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBTransaction&gt; IDBTransaction::create(ScriptExecutionContext* context, int64_t id, const Vector&lt;String&gt;&amp; objectStoreNames, IndexedDB::TransactionMode mode, IDBDatabase* db)
</del><ins>+Ref&lt;IDBTransaction&gt; IDBTransaction::create(ScriptExecutionContext* context, int64_t id, const Vector&lt;String&gt;&amp; objectStoreNames, IndexedDB::TransactionMode mode, IDBDatabase* db)
</ins><span class="cx"> {
</span><del>-    IDBOpenDBRequest* openDBRequest = 0;
-    RefPtr&lt;IDBTransaction&gt; transaction(adoptRef(new IDBTransaction(context, id, objectStoreNames, mode, db, openDBRequest, IDBDatabaseMetadata())));
</del><ins>+    IDBOpenDBRequest* openDBRequest = nullptr;
+    Ref&lt;IDBTransaction&gt; transaction(adoptRef(*new IDBTransaction(context, id, objectStoreNames, mode, db, openDBRequest, IDBDatabaseMetadata())));
</ins><span class="cx">     transaction-&gt;suspendIfNeeded();
</span><del>-    return transaction.release();
</del><ins>+    return transaction;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBTransaction&gt; IDBTransaction::create(ScriptExecutionContext* context, int64_t id, IDBDatabase* db, IDBOpenDBRequest* openDBRequest, const IDBDatabaseMetadata&amp; previousMetadata)
</del><ins>+Ref&lt;IDBTransaction&gt; IDBTransaction::create(ScriptExecutionContext* context, int64_t id, IDBDatabase* db, IDBOpenDBRequest* openDBRequest, const IDBDatabaseMetadata&amp; previousMetadata)
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;IDBTransaction&gt; transaction(adoptRef(new IDBTransaction(context, id, Vector&lt;String&gt;(), IndexedDB::TransactionMode::VersionChange, db, openDBRequest, previousMetadata)));
</del><ins>+    Ref&lt;IDBTransaction&gt; transaction(adoptRef(*new IDBTransaction(context, id, Vector&lt;String&gt;(), IndexedDB::TransactionMode::VersionChange, db, openDBRequest, previousMetadata)));
</ins><span class="cx">     transaction-&gt;suspendIfNeeded();
</span><del>-    return transaction.release();
</del><ins>+    return transaction;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const AtomicString&amp; IDBTransaction::modeReadOnly()
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBTransactionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -51,8 +51,8 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBTransaction final : public ScriptWrappable, public RefCounted&lt;IDBTransaction&gt;, public EventTargetWithInlineData, public ActiveDOMObject {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBTransaction&gt; create(ScriptExecutionContext*, int64_t, const Vector&lt;String&gt;&amp; objectStoreNames, IndexedDB::TransactionMode, IDBDatabase*);
-    static PassRefPtr&lt;IDBTransaction&gt; create(ScriptExecutionContext*, int64_t, IDBDatabase*, IDBOpenDBRequest*, const IDBDatabaseMetadata&amp; previousMetadata);
</del><ins>+    static Ref&lt;IDBTransaction&gt; create(ScriptExecutionContext*, int64_t, const Vector&lt;String&gt;&amp; objectStoreNames, IndexedDB::TransactionMode, IDBDatabase*);
+    static Ref&lt;IDBTransaction&gt; create(ScriptExecutionContext*, int64_t, IDBDatabase*, IDBOpenDBRequest*, const IDBDatabaseMetadata&amp; previousMetadata);
</ins><span class="cx">     virtual ~IDBTransaction();
</span><span class="cx"> 
</span><span class="cx">     static const AtomicString&amp; modeReadOnly();
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBTransactionBackendcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackend.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackend.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackend.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -41,13 +41,13 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;IDBTransactionBackend&gt; IDBTransactionBackend::create(IDBDatabaseBackend* databaseBackend, int64_t id, PassRefPtr&lt;IDBDatabaseCallbacks&gt; callbacks, const Vector&lt;int64_t&gt;&amp; objectStoreIds, IndexedDB::TransactionMode mode)
</del><ins>+Ref&lt;IDBTransactionBackend&gt; IDBTransactionBackend::create(IDBDatabaseBackend* databaseBackend, int64_t id, PassRefPtr&lt;IDBDatabaseCallbacks&gt; callbacks, const Vector&lt;int64_t&gt;&amp; objectStoreIds, IndexedDB::TransactionMode mode)
</ins><span class="cx"> {
</span><span class="cx">     HashSet&lt;int64_t&gt; objectStoreHashSet;
</span><span class="cx">     for (size_t i = 0; i &lt; objectStoreIds.size(); ++i)
</span><span class="cx">         objectStoreHashSet.add(objectStoreIds[i]);
</span><span class="cx"> 
</span><del>-    return adoptRef(new IDBTransactionBackend(databaseBackend, id, callbacks, objectStoreHashSet, mode));
</del><ins>+    return adoptRef(*new IDBTransactionBackend(databaseBackend, id, callbacks, objectStoreHashSet, mode));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> IDBTransactionBackend::IDBTransactionBackend(IDBDatabaseBackend* databaseBackend, int64_t id, PassRefPtr&lt;IDBDatabaseCallbacks&gt; callbacks, const HashSet&lt;int64_t&gt;&amp; objectStoreIds, IndexedDB::TransactionMode mode)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBTransactionBackendh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackend.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackend.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackend.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBTransactionBackend : public RefCounted&lt;IDBTransactionBackend&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBTransactionBackend&gt; create(IDBDatabaseBackend*, int64_t transactionId, PassRefPtr&lt;IDBDatabaseCallbacks&gt;, const Vector&lt;int64_t&gt;&amp; objectStoreIds, IndexedDB::TransactionMode);
</del><ins>+    static Ref&lt;IDBTransactionBackend&gt; create(IDBDatabaseBackend*, int64_t transactionId, PassRefPtr&lt;IDBDatabaseCallbacks&gt;, const Vector&lt;int64_t&gt;&amp; objectStoreIds, IndexedDB::TransactionMode);
</ins><span class="cx">     ~IDBTransactionBackend();
</span><span class="cx"> 
</span><span class="cx">     void commit();
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBTransactionBackendOperationsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackendOperations.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackendOperations.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransactionBackendOperations.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -38,9 +38,9 @@
</span><span class="cx"> 
</span><span class="cx"> class CreateObjectStoreOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, const IDBObjectStoreMetadata&amp; objectStoreMetadata)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, const IDBObjectStoreMetadata&amp; objectStoreMetadata)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new CreateObjectStoreOperation(transaction, objectStoreMetadata));
</del><ins>+        return adoptRef(*new CreateObjectStoreOperation(transaction, objectStoreMetadata));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> 
</span><span class="lines">@@ -59,9 +59,9 @@
</span><span class="cx"> 
</span><span class="cx"> class DeleteObjectStoreOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, const IDBObjectStoreMetadata&amp; objectStoreMetadata)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, const IDBObjectStoreMetadata&amp; objectStoreMetadata)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new DeleteObjectStoreOperation(transaction, objectStoreMetadata));
</del><ins>+        return adoptRef(*new DeleteObjectStoreOperation(transaction, objectStoreMetadata));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> 
</span><span class="lines">@@ -81,9 +81,9 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBDatabaseBackend::VersionChangeOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t version, PassRefPtr&lt;IDBCallbacks&gt; callbacks, PassRefPtr&lt;IDBDatabaseCallbacks&gt; databaseCallbacks)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t version, PassRefPtr&lt;IDBCallbacks&gt; callbacks, PassRefPtr&lt;IDBDatabaseCallbacks&gt; databaseCallbacks)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new VersionChangeOperation(transaction, version, callbacks, databaseCallbacks));
</del><ins>+        return adoptRef(*new VersionChangeOperation(transaction, version, callbacks, databaseCallbacks));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> 
</span><span class="lines">@@ -108,9 +108,9 @@
</span><span class="cx"> 
</span><span class="cx"> class CreateObjectStoreAbortOperation : public IDBSynchronousOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBSynchronousOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId)
</del><ins>+    static Ref&lt;IDBSynchronousOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new CreateObjectStoreAbortOperation(transaction, objectStoreId));
</del><ins>+        return adoptRef(*new CreateObjectStoreAbortOperation(transaction, objectStoreId));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform() override final;
</span><span class="cx"> private:
</span><span class="lines">@@ -126,9 +126,9 @@
</span><span class="cx"> 
</span><span class="cx"> class DeleteObjectStoreAbortOperation : public IDBSynchronousOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBSynchronousOperation&gt; create(IDBTransactionBackend* transaction, const IDBObjectStoreMetadata&amp; objectStore)
</del><ins>+    static Ref&lt;IDBSynchronousOperation&gt; create(IDBTransactionBackend* transaction, const IDBObjectStoreMetadata&amp; objectStore)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new DeleteObjectStoreAbortOperation(transaction, objectStore));
</del><ins>+        return adoptRef(*new DeleteObjectStoreAbortOperation(transaction, objectStore));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform() override final;
</span><span class="cx"> private:
</span><span class="lines">@@ -144,9 +144,9 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBDatabaseBackend::VersionChangeAbortOperation : public IDBSynchronousOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBSynchronousOperation&gt; create(IDBTransactionBackend* transaction, const String&amp; previousVersion, int64_t previousIntVersion)
</del><ins>+    static Ref&lt;IDBSynchronousOperation&gt; create(IDBTransactionBackend* transaction, const String&amp; previousVersion, int64_t previousIntVersion)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new VersionChangeAbortOperation(transaction, previousVersion, previousIntVersion));
</del><ins>+        return adoptRef(*new VersionChangeAbortOperation(transaction, previousVersion, previousIntVersion));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform() override final;
</span><span class="cx"> private:
</span><span class="lines">@@ -164,9 +164,9 @@
</span><span class="cx"> 
</span><span class="cx"> class CreateIndexOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, const IDBIndexMetadata&amp; indexMetadata)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, const IDBIndexMetadata&amp; indexMetadata)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new CreateIndexOperation(transaction, objectStoreId, indexMetadata));
</del><ins>+        return adoptRef(*new CreateIndexOperation(transaction, objectStoreId, indexMetadata));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> 
</span><span class="lines">@@ -188,9 +188,9 @@
</span><span class="cx"> 
</span><span class="cx"> class CreateIndexAbortOperation : public IDBSynchronousOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBSynchronousOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, int64_t indexId)
</del><ins>+    static Ref&lt;IDBSynchronousOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, int64_t indexId)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new CreateIndexAbortOperation(transaction, objectStoreId, indexId));
</del><ins>+        return adoptRef(*new CreateIndexAbortOperation(transaction, objectStoreId, indexId));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform() override final;
</span><span class="cx"> private:
</span><span class="lines">@@ -208,9 +208,9 @@
</span><span class="cx"> 
</span><span class="cx"> class DeleteIndexOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, const IDBIndexMetadata&amp; indexMetadata)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, const IDBIndexMetadata&amp; indexMetadata)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new DeleteIndexOperation(transaction, objectStoreId, indexMetadata));
</del><ins>+        return adoptRef(*new DeleteIndexOperation(transaction, objectStoreId, indexMetadata));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> 
</span><span class="lines">@@ -232,9 +232,9 @@
</span><span class="cx"> 
</span><span class="cx"> class DeleteIndexAbortOperation : public IDBSynchronousOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBSynchronousOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, const IDBIndexMetadata&amp; indexMetadata)
</del><ins>+    static Ref&lt;IDBSynchronousOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, const IDBIndexMetadata&amp; indexMetadata)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new DeleteIndexAbortOperation(transaction, objectStoreId, indexMetadata));
</del><ins>+        return adoptRef(*new DeleteIndexAbortOperation(transaction, objectStoreId, indexMetadata));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform() override final;
</span><span class="cx"> private:
</span><span class="lines">@@ -252,9 +252,9 @@
</span><span class="cx"> 
</span><span class="cx"> class GetOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, const IDBDatabaseMetadata&amp; metadata, int64_t objectStoreId, int64_t indexId, PassRefPtr&lt;IDBKeyRange&gt; keyRange, IndexedDB::CursorType cursorType, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, const IDBDatabaseMetadata&amp; metadata, int64_t objectStoreId, int64_t indexId, PassRefPtr&lt;IDBKeyRange&gt; keyRange, IndexedDB::CursorType cursorType, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new GetOperation(transaction, metadata, objectStoreId, indexId, keyRange, cursorType, callbacks));
</del><ins>+        return adoptRef(*new GetOperation(transaction, metadata, objectStoreId, indexId, keyRange, cursorType, callbacks));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> 
</span><span class="lines">@@ -292,9 +292,9 @@
</span><span class="cx"> 
</span><span class="cx"> class PutOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, const IDBObjectStoreMetadata&amp; objectStore, PassRefPtr&lt;SharedBuffer&gt; value, PassRefPtr&lt;IDBKey&gt; key, IDBDatabaseBackend::PutMode putMode, PassRefPtr&lt;IDBCallbacks&gt; callbacks, const Vector&lt;int64_t&gt;&amp; indexIds, const Vector&lt;IndexKeys&gt;&amp; indexKeys)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, const IDBObjectStoreMetadata&amp; objectStore, PassRefPtr&lt;SharedBuffer&gt; value, PassRefPtr&lt;IDBKey&gt; key, IDBDatabaseBackend::PutMode putMode, PassRefPtr&lt;IDBCallbacks&gt; callbacks, const Vector&lt;int64_t&gt;&amp; indexIds, const Vector&lt;IndexKeys&gt;&amp; indexKeys)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new PutOperation(transaction, objectStore, value, key, putMode, callbacks, indexIds, indexKeys));
</del><ins>+        return adoptRef(*new PutOperation(transaction, objectStore, value, key, putMode, callbacks, indexIds, indexKeys));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> 
</span><span class="lines">@@ -330,9 +330,9 @@
</span><span class="cx"> 
</span><span class="cx"> class SetIndexesReadyOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, size_t indexCount)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, size_t indexCount)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new SetIndexesReadyOperation(transaction, indexCount));
</del><ins>+        return adoptRef(*new SetIndexesReadyOperation(transaction, indexCount));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> private:
</span><span class="lines">@@ -348,9 +348,9 @@
</span><span class="cx"> 
</span><span class="cx"> class OpenCursorOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, int64_t indexId, PassRefPtr&lt;IDBKeyRange&gt; keyRange, IndexedDB::CursorDirection direction, IndexedDB::CursorType cursorType, IDBDatabaseBackend::TaskType taskType, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, int64_t indexId, PassRefPtr&lt;IDBKeyRange&gt; keyRange, IndexedDB::CursorDirection direction, IndexedDB::CursorType cursorType, IDBDatabaseBackend::TaskType taskType, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new OpenCursorOperation(transaction, objectStoreId, indexId, keyRange, direction, cursorType, taskType, callbacks));
</del><ins>+        return adoptRef(*new OpenCursorOperation(transaction, objectStoreId, indexId, keyRange, direction, cursorType, taskType, callbacks));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> 
</span><span class="lines">@@ -388,9 +388,9 @@
</span><span class="cx"> 
</span><span class="cx"> class CountOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, int64_t indexId, PassRefPtr&lt;IDBKeyRange&gt; keyRange, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, int64_t indexId, PassRefPtr&lt;IDBKeyRange&gt; keyRange, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new CountOperation(transaction, objectStoreId, indexId, keyRange, callbacks));
</del><ins>+        return adoptRef(*new CountOperation(transaction, objectStoreId, indexId, keyRange, callbacks));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> 
</span><span class="lines">@@ -417,9 +417,9 @@
</span><span class="cx"> 
</span><span class="cx"> class DeleteRangeOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, PassRefPtr&lt;IDBKeyRange&gt; keyRange, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, PassRefPtr&lt;IDBKeyRange&gt; keyRange, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new DeleteRangeOperation(transaction, objectStoreId, keyRange, callbacks));
</del><ins>+        return adoptRef(*new DeleteRangeOperation(transaction, objectStoreId, keyRange, callbacks));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> 
</span><span class="lines">@@ -443,9 +443,9 @@
</span><span class="cx"> 
</span><span class="cx"> class ClearObjectStoreOperation : public IDBOperation {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</del><ins>+    static Ref&lt;IDBOperation&gt; create(IDBTransactionBackend* transaction, int64_t objectStoreId, PassRefPtr&lt;IDBCallbacks&gt; callbacks)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new ClearObjectStoreOperation(transaction, objectStoreId, callbacks));
</del><ins>+        return adoptRef(*new ClearObjectStoreOperation(transaction, objectStoreId, callbacks));
</ins><span class="cx">     }
</span><span class="cx">     virtual void perform(std::function&lt;void()&gt; successCallback) override final;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediasourceVideoPlaybackQualitycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediasource/VideoPlaybackQuality.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediasource/VideoPlaybackQuality.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediasource/VideoPlaybackQuality.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -28,9 +28,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-RefPtr&lt;VideoPlaybackQuality&gt; VideoPlaybackQuality::create(double creationTime, unsigned long totalVideoFrames, unsigned long droppedVideoFrames, unsigned long corruptedVideoFrames, double totalFrameDelay)
</del><ins>+Ref&lt;VideoPlaybackQuality&gt; VideoPlaybackQuality::create(double creationTime, unsigned long totalVideoFrames, unsigned long droppedVideoFrames, unsigned long corruptedVideoFrames, double totalFrameDelay)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new VideoPlaybackQuality(creationTime, totalVideoFrames, droppedVideoFrames, corruptedVideoFrames, totalFrameDelay));
</del><ins>+    return adoptRef(*new VideoPlaybackQuality(creationTime, totalVideoFrames, droppedVideoFrames, corruptedVideoFrames, totalFrameDelay));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> VideoPlaybackQuality::VideoPlaybackQuality(double creationTime, unsigned long totalVideoFrames, unsigned long droppedVideoFrames, unsigned long corruptedVideoFrames, double totalFrameDelay)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediasourceVideoPlaybackQualityh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediasource/VideoPlaybackQuality.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediasource/VideoPlaybackQuality.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediasource/VideoPlaybackQuality.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx"> class VideoPlaybackQuality : public RefCounted&lt;VideoPlaybackQuality&gt; {
</span><span class="cx">     WTF_MAKE_NONCOPYABLE(VideoPlaybackQuality)
</span><span class="cx"> public:
</span><del>-    static RefPtr&lt;VideoPlaybackQuality&gt; create(double creationTime, unsigned long totalVideoFrames, unsigned long droppedVideoFrames, unsigned long corruptedVideoFrames, double totalFrameDelay);
</del><ins>+    static Ref&lt;VideoPlaybackQuality&gt; create(double creationTime, unsigned long totalVideoFrames, unsigned long droppedVideoFrames, unsigned long corruptedVideoFrames, double totalFrameDelay);
</ins><span class="cx"> 
</span><span class="cx">     double creationTime() const { return m_creationTime; }
</span><span class="cx">     unsigned long totalVideoFrames() const { return m_totalVideoFrames; }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaConstraintsImplcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaConstraintsImpl.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaConstraintsImpl.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediastream/MediaConstraintsImpl.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -41,19 +41,19 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;MediaConstraintsImpl&gt; MediaConstraintsImpl::create(const Dictionary&amp; constraints, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;MediaConstraintsImpl&gt; MediaConstraintsImpl::create(const Dictionary&amp; constraints, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;MediaConstraintsImpl&gt; object = adoptRef(new MediaConstraintsImpl());
</del><ins>+    RefPtr&lt;MediaConstraintsImpl&gt; object = adoptRef(*new MediaConstraintsImpl());
</ins><span class="cx">     if (!object-&gt;initialize(constraints)) {
</span><span class="cx">         ec = TYPE_MISMATCH_ERR;
</span><del>-        return 0;
</del><ins>+        return nullptr;
</ins><span class="cx">     }
</span><del>-    return object.release();
</del><ins>+    return object;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;MediaConstraintsImpl&gt; MediaConstraintsImpl::create()
</del><ins>+Ref&lt;MediaConstraintsImpl&gt; MediaConstraintsImpl::create()
</ins><span class="cx"> {
</span><del>-    return adoptRef(new MediaConstraintsImpl());
</del><ins>+    return adoptRef(*new MediaConstraintsImpl());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool MediaConstraintsImpl::initialize(const Dictionary&amp; constraints)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaConstraintsImplh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaConstraintsImpl.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaConstraintsImpl.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediastream/MediaConstraintsImpl.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -43,8 +43,8 @@
</span><span class="cx"> 
</span><span class="cx"> class MediaConstraintsImpl : public MediaConstraints {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;MediaConstraintsImpl&gt; create();
-    static PassRefPtr&lt;MediaConstraintsImpl&gt; create(const Dictionary&amp;, ExceptionCode&amp;);
</del><ins>+    static Ref&lt;MediaConstraintsImpl&gt; create();
+    static RefPtr&lt;MediaConstraintsImpl&gt; create(const Dictionary&amp;, ExceptionCode&amp;);
</ins><span class="cx"> 
</span><span class="cx">     virtual ~MediaConstraintsImpl();
</span><span class="cx">     bool initialize(const Dictionary&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaStreamcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaStream.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaStream.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStream.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -39,12 +39,12 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;MediaStream&gt; MediaStream::create(ScriptExecutionContext&amp; context)
</del><ins>+Ref&lt;MediaStream&gt; MediaStream::create(ScriptExecutionContext&amp; context)
</ins><span class="cx"> {
</span><span class="cx">     return MediaStream::create(context, MediaStreamPrivate::create(Vector&lt;RefPtr&lt;RealtimeMediaSource&gt;&gt;(), Vector&lt;RefPtr&lt;RealtimeMediaSource&gt;&gt;()));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;MediaStream&gt; MediaStream::create(ScriptExecutionContext&amp; context, PassRefPtr&lt;MediaStream&gt; stream)
</del><ins>+Ref&lt;MediaStream&gt; MediaStream::create(ScriptExecutionContext&amp; context, PassRefPtr&lt;MediaStream&gt; stream)
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(stream);
</span><span class="cx"> 
</span><span class="lines">@@ -60,7 +60,7 @@
</span><span class="cx">     return MediaStream::create(context, MediaStreamPrivate::create(audioTracks, videoTracks));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;MediaStream&gt; MediaStream::create(ScriptExecutionContext&amp; context, const Vector&lt;RefPtr&lt;MediaStreamTrack&gt;&gt;&amp; tracks)
</del><ins>+Ref&lt;MediaStream&gt; MediaStream::create(ScriptExecutionContext&amp; context, const Vector&lt;RefPtr&lt;MediaStreamTrack&gt;&gt;&amp; tracks)
</ins><span class="cx"> {
</span><span class="cx">     Vector&lt;RefPtr&lt;MediaStreamTrackPrivate&gt;&gt; audioTracks;
</span><span class="cx">     Vector&lt;RefPtr&lt;MediaStreamTrackPrivate&gt;&gt; videoTracks;
</span><span class="lines">@@ -75,9 +75,9 @@
</span><span class="cx">     return MediaStream::create(context, MediaStreamPrivate::create(audioTracks, videoTracks));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;MediaStream&gt; MediaStream::create(ScriptExecutionContext&amp; context, PassRefPtr&lt;MediaStreamPrivate&gt; privateStream)
</del><ins>+Ref&lt;MediaStream&gt; MediaStream::create(ScriptExecutionContext&amp; context, PassRefPtr&lt;MediaStreamPrivate&gt; privateStream)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new MediaStream(context, privateStream));
</del><ins>+    return adoptRef(*new MediaStream(context, privateStream));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> MediaStream::MediaStream(ScriptExecutionContext&amp; context, PassRefPtr&lt;MediaStreamPrivate&gt; privateStream)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaStreamh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaStream.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaStream.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStream.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -51,10 +51,10 @@
</span><span class="cx">         virtual void didAddOrRemoveTrack() = 0;
</span><span class="cx">     };
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;MediaStream&gt; create(ScriptExecutionContext&amp;);
-    static PassRefPtr&lt;MediaStream&gt; create(ScriptExecutionContext&amp;, PassRefPtr&lt;MediaStream&gt;);
-    static PassRefPtr&lt;MediaStream&gt; create(ScriptExecutionContext&amp;, const Vector&lt;RefPtr&lt;MediaStreamTrack&gt;&gt;&amp;);
-    static PassRefPtr&lt;MediaStream&gt; create(ScriptExecutionContext&amp;, PassRefPtr&lt;MediaStreamPrivate&gt;);
</del><ins>+    static Ref&lt;MediaStream&gt; create(ScriptExecutionContext&amp;);
+    static Ref&lt;MediaStream&gt; create(ScriptExecutionContext&amp;, PassRefPtr&lt;MediaStream&gt;);
+    static Ref&lt;MediaStream&gt; create(ScriptExecutionContext&amp;, const Vector&lt;RefPtr&lt;MediaStreamTrack&gt;&gt;&amp;);
+    static Ref&lt;MediaStream&gt; create(ScriptExecutionContext&amp;, PassRefPtr&lt;MediaStreamPrivate&gt;);
</ins><span class="cx">     virtual ~MediaStream();
</span><span class="cx"> 
</span><span class="cx">     String id() const { return m_private-&gt;id(); }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCDTMFSendercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> static const long minInterToneGapMs = 30;
</span><span class="cx"> static const long defaultInterToneGapMs = 70;
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;RTCDTMFSender&gt; RTCDTMFSender::create(ScriptExecutionContext* context, RTCPeerConnectionHandler* peerConnectionHandler, PassRefPtr&lt;MediaStreamTrack&gt; prpTrack, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;RTCDTMFSender&gt; RTCDTMFSender::create(ScriptExecutionContext* context, RTCPeerConnectionHandler* peerConnectionHandler, PassRefPtr&lt;MediaStreamTrack&gt; prpTrack, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;MediaStreamTrack&gt; track = prpTrack;
</span><span class="cx">     std::unique_ptr&lt;RTCDTMFSenderHandler&gt; handler = peerConnectionHandler-&gt;createDTMFSender(track-&gt;source());
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;RTCDTMFSender&gt; dtmfSender = adoptRef(new RTCDTMFSender(context, track, WTF::move(handler)));
</span><span class="cx">     dtmfSender-&gt;suspendIfNeeded();
</span><del>-    return dtmfSender.release();
</del><ins>+    return dtmfSender;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> RTCDTMFSender::RTCDTMFSender(ScriptExecutionContext* context, PassRefPtr&lt;MediaStreamTrack&gt; track, std::unique_ptr&lt;RTCDTMFSenderHandler&gt; handler)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCDTMFSenderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> 
</span><span class="cx"> class RTCDTMFSender final : public RefCounted&lt;RTCDTMFSender&gt;, public ScriptWrappable, public EventTargetWithInlineData, public RTCDTMFSenderHandlerClient, public ActiveDOMObject {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;RTCDTMFSender&gt; create(ScriptExecutionContext*, RTCPeerConnectionHandler*, PassRefPtr&lt;MediaStreamTrack&gt;, ExceptionCode&amp;);
</del><ins>+    static RefPtr&lt;RTCDTMFSender&gt; create(ScriptExecutionContext*, RTCPeerConnectionHandler*, PassRefPtr&lt;MediaStreamTrack&gt;, ExceptionCode&amp;);
</ins><span class="cx">     ~RTCDTMFSender();
</span><span class="cx"> 
</span><span class="cx">     bool canInsertDTMF() const;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCOfferAnswerOptionscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCOfferAnswerOptions.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCOfferAnswerOptions.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediastream/RTCOfferAnswerOptions.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;RTCOfferAnswerOptions&gt; RTCOfferAnswerOptions::create(const Dictionary&amp; options, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;RTCOfferAnswerOptions&gt; RTCOfferAnswerOptions::create(const Dictionary&amp; options, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;RTCOfferAnswerOptions&gt; offerAnswerOptions = adoptRef(new RTCOfferAnswerOptions());
</span><span class="cx">     String requestIdentity;
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx">         return nullptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    return offerAnswerOptions.release();
</del><ins>+    return offerAnswerOptions;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool RTCOfferAnswerOptions::initialize(const Dictionary&amp; options)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx">     return true;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;RTCOfferOptions&gt; RTCOfferOptions::create(const Dictionary&amp; options, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;RTCOfferOptions&gt; RTCOfferOptions::create(const Dictionary&amp; options, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;RTCOfferOptions&gt; offerOptions = adoptRef(new RTCOfferOptions());
</span><span class="cx">     if (!offerOptions-&gt;initialize(options)) {
</span><span class="lines">@@ -69,7 +69,7 @@
</span><span class="cx">         return nullptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    return offerOptions.release();
</del><ins>+    return offerOptions;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool RTCOfferOptions::initialize(const Dictionary&amp; options)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCOfferAnswerOptionsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCOfferAnswerOptions.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCOfferAnswerOptions.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediastream/RTCOfferAnswerOptions.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> 
</span><span class="cx"> class RTCOfferAnswerOptions : public RefCounted&lt;RTCOfferAnswerOptions&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;RTCOfferAnswerOptions&gt; create(const Dictionary&amp;, ExceptionCode&amp;);
</del><ins>+    static RefPtr&lt;RTCOfferAnswerOptions&gt; create(const Dictionary&amp;, ExceptionCode&amp;);
</ins><span class="cx"> 
</span><span class="cx">     const String&amp; requestIdentity() const { return m_private-&gt;requestIdentity(); }
</span><span class="cx">     RTCOfferAnswerOptionsPrivate* privateOfferAnswerOptions() const { return m_private.get(); }
</span><span class="lines">@@ -56,7 +56,7 @@
</span><span class="cx"> 
</span><span class="cx"> class RTCOfferOptions : public RTCOfferAnswerOptions {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;RTCOfferOptions&gt; create(const Dictionary&amp;, ExceptionCode&amp;);
</del><ins>+    static RefPtr&lt;RTCOfferOptions&gt; create(const Dictionary&amp;, ExceptionCode&amp;);
</ins><span class="cx"> 
</span><span class="cx">     int64_t offerToReceiveVideo() const { return privateOfferOptions()-&gt;offerToReceiveVideo(); }
</span><span class="cx">     int64_t offerToReceiveAudio() const { return privateOfferOptions()-&gt;offerToReceiveAudio(); }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCPeerConnectioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -110,7 +110,7 @@
</span><span class="cx">     return 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;RTCConfiguration&gt; RTCPeerConnection::parseConfiguration(const Dictionary&amp; configuration, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;RTCConfiguration&gt; RTCPeerConnection::parseConfiguration(const Dictionary&amp; configuration, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     if (configuration.isUndefinedOrNull())
</span><span class="cx">         return nullptr;
</span><span class="lines">@@ -152,10 +152,10 @@
</span><span class="cx">             return nullptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    return rtcConfiguration.release();
</del><ins>+    return rtcConfiguration;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;RTCPeerConnection&gt; RTCPeerConnection::create(ScriptExecutionContext&amp; context, const Dictionary&amp; rtcConfiguration, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;RTCPeerConnection&gt; RTCPeerConnection::create(ScriptExecutionContext&amp; context, const Dictionary&amp; rtcConfiguration, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;RTCConfiguration&gt; configuration = parseConfiguration(rtcConfiguration, ec);
</span><span class="cx">     if (ec)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCPeerConnectionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -60,7 +60,7 @@
</span><span class="cx"> 
</span><span class="cx"> class RTCPeerConnection final : public RefCounted&lt;RTCPeerConnection&gt;, public ScriptWrappable, public RTCPeerConnectionHandlerClient, public EventTargetWithInlineData, public ActiveDOMObject, public MediaStream::Observer {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;RTCPeerConnection&gt; create(ScriptExecutionContext&amp;, const Dictionary&amp; rtcConfiguration, ExceptionCode&amp;);
</del><ins>+    static RefPtr&lt;RTCPeerConnection&gt; create(ScriptExecutionContext&amp;, const Dictionary&amp; rtcConfiguration, ExceptionCode&amp;);
</ins><span class="cx">     ~RTCPeerConnection();
</span><span class="cx"> 
</span><span class="cx">     void createOffer(PassRefPtr&lt;RTCSessionDescriptionCallback&gt;, PassRefPtr&lt;RTCPeerConnectionErrorCallback&gt;, const Dictionary&amp; offerOptions, ExceptionCode&amp;);
</span><span class="lines">@@ -126,7 +126,7 @@
</span><span class="cx"> private:
</span><span class="cx">     RTCPeerConnection(ScriptExecutionContext&amp;, PassRefPtr&lt;RTCConfiguration&gt;, ExceptionCode&amp;);
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;RTCConfiguration&gt; parseConfiguration(const Dictionary&amp; configuration, ExceptionCode&amp;);
</del><ins>+    static RefPtr&lt;RTCConfiguration&gt; parseConfiguration(const Dictionary&amp; configuration, ExceptionCode&amp;);
</ins><span class="cx">     void scheduleDispatchEvent(PassRefPtr&lt;Event&gt;);
</span><span class="cx">     void scheduledEventTimerFired();
</span><span class="cx">     bool hasLocalStreamWithTrackId(const String&amp; trackId);
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioContextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioContext.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioContext.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/webaudio/AudioContext.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -123,7 +123,7 @@
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;AudioContext&gt; audioContext(adoptRef(new AudioContext(document)));
</span><span class="cx">     audioContext-&gt;suspendIfNeeded();
</span><del>-    return audioContext.release();
</del><ins>+    return audioContext;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // Constructor for rendering to the audio hardware.
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebdatabaseAbstractDatabaseServerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webdatabase/AbstractDatabaseServer.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webdatabase/AbstractDatabaseServer.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/webdatabase/AbstractDatabaseServer.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">         RetryOpenDatabase
</span><span class="cx">     };
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;DatabaseBackendBase&gt; openDatabase(RefPtr&lt;DatabaseContext&gt;&amp;, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError&amp;, String&amp; errorMessage, OpenAttempt = FirstTryToOpenDatabase) = 0;
</del><ins>+    virtual RefPtr&lt;DatabaseBackendBase&gt; openDatabase(RefPtr&lt;DatabaseContext&gt;&amp;, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError&amp;, String&amp; errorMessage, OpenAttempt = FirstTryToOpenDatabase) = 0;
</ins><span class="cx"> 
</span><span class="cx">     virtual void closeAllDatabases() = 0;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebdatabaseDOMWindowWebDatabasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -37,12 +37,12 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;Database&gt; DOMWindowWebDatabase::openDatabase(DOMWindow* window, const String&amp; name, const String&amp; version, const String&amp; displayName, unsigned long estimatedSize, PassRefPtr&lt;DatabaseCallback&gt; creationCallback, ExceptionCode&amp; ec)
</del><ins>+RefPtr&lt;Database&gt; DOMWindowWebDatabase::openDatabase(DOMWindow* window, const String&amp; name, const String&amp; version, const String&amp; displayName, unsigned long estimatedSize, PassRefPtr&lt;DatabaseCallback&gt; creationCallback, ExceptionCode&amp; ec)
</ins><span class="cx"> {
</span><span class="cx">     if (!window-&gt;isCurrentlyDisplayedInFrame())
</span><del>-        return 0;
</del><ins>+        return nullptr;
</ins><span class="cx"> 
</span><del>-    RefPtr&lt;Database&gt; database = 0;
</del><ins>+    RefPtr&lt;Database&gt; database = nullptr;
</ins><span class="cx">     DatabaseManager&amp; dbManager = DatabaseManager::singleton();
</span><span class="cx">     DatabaseError error = DatabaseError::None;
</span><span class="cx">     if (dbManager.isAvailable() &amp;&amp; window-&gt;document()-&gt;securityOrigin()-&gt;canAccessDatabase(window-&gt;document()-&gt;topOrigin())) {
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebdatabaseDOMWindowWebDatabaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/webdatabase/DOMWindowWebDatabase.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> 
</span><span class="cx"> class DOMWindowWebDatabase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;Database&gt; openDatabase(DOMWindow*, const String&amp; name, const String&amp; version, const String&amp; displayName, unsigned long estimatedSize, PassRefPtr&lt;DatabaseCallback&gt; creationCallback, ExceptionCode&amp;);
</del><ins>+    static RefPtr&lt;Database&gt; openDatabase(DOMWindow*, const String&amp; name, const String&amp; version, const String&amp; displayName, unsigned long estimatedSize, PassRefPtr&lt;DatabaseCallback&gt; creationCallback, ExceptionCode&amp;);
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     DOMWindowWebDatabase() { };
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebdatabaseDatabaseManagercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -107,7 +107,7 @@
</span><span class="cx">     m_databaseIsAvailable = available;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;DatabaseContext&gt; DatabaseManager::existingDatabaseContextFor(ScriptExecutionContext* context)
</del><ins>+RefPtr&lt;DatabaseContext&gt; DatabaseManager::existingDatabaseContextFor(ScriptExecutionContext* context)
</ins><span class="cx"> {
</span><span class="cx">     std::lock_guard&lt;std::mutex&gt; lock(m_mutex);
</span><span class="cx"> 
</span><span class="lines">@@ -127,15 +127,15 @@
</span><span class="cx">         // We do this by ref'ing the reused databaseContext before returning it.
</span><span class="cx">         databaseContext-&gt;ref();
</span><span class="cx">     }
</span><del>-    return databaseContext.release();
</del><ins>+    return databaseContext;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;DatabaseContext&gt; DatabaseManager::databaseContextFor(ScriptExecutionContext* context)
</del><ins>+RefPtr&lt;DatabaseContext&gt; DatabaseManager::databaseContextFor(ScriptExecutionContext* context)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;DatabaseContext&gt; databaseContext = existingDatabaseContextFor(context);
</span><span class="cx">     if (!databaseContext)
</span><del>-        databaseContext = adoptRef(new DatabaseContext(context));
-    return databaseContext.release();
</del><ins>+        databaseContext = adoptRef(*new DatabaseContext(context));
+    return databaseContext;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void DatabaseManager::registerDatabaseContext(DatabaseContext* databaseContext)
</span><span class="lines">@@ -272,7 +272,7 @@
</span><span class="cx">     m_proposedDatabases.remove(proposedDb);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;Database&gt; DatabaseManager::openDatabase(ScriptExecutionContext* context,
</del><ins>+RefPtr&lt;Database&gt; DatabaseManager::openDatabase(ScriptExecutionContext* context,
</ins><span class="cx">     const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName,
</span><span class="cx">     unsigned long estimatedSize, PassRefPtr&lt;DatabaseCallback&gt; creationCallback,
</span><span class="cx">     DatabaseError&amp; error)
</span><span class="lines">@@ -284,7 +284,7 @@
</span><span class="cx">     String errorMessage;
</span><span class="cx">     RefPtr&lt;DatabaseBackendBase&gt; backend = openDatabaseBackend(context, name, expectedVersion, displayName, estimatedSize, setVersionInNewDatabase, error, errorMessage);
</span><span class="cx">     if (!backend)
</span><del>-        return 0;
</del><ins>+        return nullptr;
</ins><span class="cx"> 
</span><span class="cx">     RefPtr&lt;Database&gt; database = Database::create(context, backend);
</span><span class="cx"> 
</span><span class="lines">@@ -302,7 +302,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     ASSERT(database);
</span><del>-    return database.release();
</del><ins>+    return database;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool DatabaseManager::hasOpenDatabases(ScriptExecutionContext* context)
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebdatabaseDatabaseManagerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -65,7 +65,7 @@
</span><span class="cx"> 
</span><span class="cx">     // This gets a DatabaseContext for the specified ScriptExecutionContext.
</span><span class="cx">     // If one doesn't already exist, it will create a new one.
</span><del>-    PassRefPtr&lt;DatabaseContext&gt; databaseContextFor(ScriptExecutionContext*);
</del><ins>+    RefPtr&lt;DatabaseContext&gt; databaseContextFor(ScriptExecutionContext*);
</ins><span class="cx"> 
</span><span class="cx">     // These 2 methods are for DatabaseContext (un)registration, and should only
</span><span class="cx">     // be called by the DatabaseContext constructor and destructor.
</span><span class="lines">@@ -82,7 +82,7 @@
</span><span class="cx"> 
</span><span class="cx">     static ExceptionCode exceptionCodeForDatabaseError(DatabaseError);
</span><span class="cx"> 
</span><del>-    PassRefPtr&lt;Database&gt; openDatabase(ScriptExecutionContext*, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, PassRefPtr&lt;DatabaseCallback&gt;, DatabaseError&amp;);
</del><ins>+    RefPtr&lt;Database&gt; openDatabase(ScriptExecutionContext*, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, PassRefPtr&lt;DatabaseCallback&gt;, DatabaseError&amp;);
</ins><span class="cx"> 
</span><span class="cx">     WEBCORE_EXPORT bool hasOpenDatabases(ScriptExecutionContext*);
</span><span class="cx"> 
</span><span class="lines">@@ -129,7 +129,7 @@
</span><span class="cx"> 
</span><span class="cx">     // This gets a DatabaseContext for the specified ScriptExecutionContext if
</span><span class="cx">     // it already exist previously. Otherwise, it returns 0.
</span><del>-    PassRefPtr&lt;DatabaseContext&gt; existingDatabaseContextFor(ScriptExecutionContext*);
</del><ins>+    RefPtr&lt;DatabaseContext&gt; existingDatabaseContextFor(ScriptExecutionContext*);
</ins><span class="cx"> 
</span><span class="cx">     PassRefPtr&lt;DatabaseBackendBase&gt; openDatabaseBackend(ScriptExecutionContext*, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError&amp;, String&amp; errorMessage);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebdatabaseDatabaseServercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webdatabase/DatabaseServer.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webdatabase/DatabaseServer.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/webdatabase/DatabaseServer.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -118,7 +118,7 @@
</span><span class="cx">     DatabaseTracker::tracker().interruptAllDatabasesForContext(context);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;DatabaseBackendBase&gt; DatabaseServer::openDatabase(RefPtr&lt;DatabaseContext&gt;&amp; backendContext, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError &amp;error, String&amp; errorMessage,
</del><ins>+RefPtr&lt;DatabaseBackendBase&gt; DatabaseServer::openDatabase(RefPtr&lt;DatabaseContext&gt;&amp; backendContext, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError &amp;error, String&amp; errorMessage,
</ins><span class="cx">     OpenAttempt attempt)
</span><span class="cx"> {
</span><span class="cx">     RefPtr&lt;DatabaseBackendBase&gt; database;
</span><span class="lines">@@ -134,18 +134,18 @@
</span><span class="cx"> 
</span><span class="cx">     if (success)
</span><span class="cx">         database = createDatabase(backendContext, name, expectedVersion, displayName, estimatedSize, setVersionInNewDatabase, error, errorMessage);
</span><del>-    return database.release();
</del><ins>+    return database;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;DatabaseBackendBase&gt; DatabaseServer::createDatabase(RefPtr&lt;DatabaseContext&gt;&amp; backendContext, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError&amp; error, String&amp; errorMessage)
</del><ins>+RefPtr&lt;DatabaseBackendBase&gt; DatabaseServer::createDatabase(RefPtr&lt;DatabaseContext&gt;&amp; backendContext, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError&amp; error, String&amp; errorMessage)
</ins><span class="cx"> {
</span><span class="cx">     RefPtr&lt;Database&gt; database = adoptRef(new Database(backendContext, name, expectedVersion, displayName, estimatedSize));
</span><span class="cx"> 
</span><span class="cx">     if (!database-&gt;openAndVerifyVersion(setVersionInNewDatabase, error, errorMessage))
</span><del>-        return 0;
</del><ins>+        return nullptr;
</ins><span class="cx"> 
</span><span class="cx">     DatabaseTracker::tracker().setDatabaseDetails(backendContext-&gt;securityOrigin(), name, displayName, estimatedSize);
</span><del>-    return database.release();
</del><ins>+    return database;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebdatabaseDatabaseServerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webdatabase/DatabaseServer.h (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webdatabase/DatabaseServer.h        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebCore/Modules/webdatabase/DatabaseServer.h        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual String fullPathForDatabase(SecurityOrigin*, const String&amp; name, bool createIfDoesNotExist);
</span><span class="cx"> 
</span><del>-    virtual PassRefPtr&lt;DatabaseBackendBase&gt; openDatabase(RefPtr&lt;DatabaseContext&gt;&amp;, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError&amp;, String&amp; errorMessage, OpenAttempt);
</del><ins>+    virtual RefPtr&lt;DatabaseBackendBase&gt; openDatabase(RefPtr&lt;DatabaseContext&gt;&amp;, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError&amp;, String&amp; errorMessage, OpenAttempt);
</ins><span class="cx"> 
</span><span class="cx">     void closeAllDatabases() override;
</span><span class="cx"> 
</span><span class="lines">@@ -65,7 +65,7 @@
</span><span class="cx">     virtual void interruptAllDatabasesForContext(const DatabaseContext*);
</span><span class="cx"> 
</span><span class="cx"> protected:
</span><del>-    virtual PassRefPtr&lt;DatabaseBackendBase&gt; createDatabase(RefPtr&lt;DatabaseContext&gt;&amp;, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError&amp;, String&amp; errorMessage);
</del><ins>+    virtual RefPtr&lt;DatabaseBackendBase&gt; createDatabase(RefPtr&lt;DatabaseContext&gt;&amp;, const String&amp; name, const String&amp; expectedVersion, const String&amp; displayName, unsigned long estimatedSize, bool setVersionInNewDatabase, DatabaseError&amp;, String&amp; errorMessage);
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessDatabasesIndexedDBWebIDBServerConnectioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp (185090 => 185091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp        2015-06-02 00:26:35 UTC (rev 185090)
+++ trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp        2015-06-02 01:04:32 UTC (rev 185091)
</span><span class="lines">@@ -336,7 +336,7 @@
</span><span class="cx">     if (!serverRequest)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured creating object store&quot;));
</del><ins>+    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured creating object store&quot;).ptr());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::createIndex(IDBTransactionBackend&amp;transaction, const CreateIndexOperation&amp; operation, std::function&lt;void (PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback)
</span><span class="lines">@@ -365,7 +365,7 @@
</span><span class="cx">     if (!serverRequest)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured creating index&quot;));
</del><ins>+    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured creating index&quot;).ptr());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::deleteIndex(IDBTransactionBackend&amp;transaction, const DeleteIndexOperation&amp; operation, std::function&lt;void (PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback)
</span><span class="lines">@@ -394,7 +394,7 @@
</span><span class="cx">     if (!serverRequest)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured deleting index&quot;));
</del><ins>+    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured deleting index&quot;).ptr());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::get(IDBTransactionBackend&amp; transaction, const GetOperation&amp; operation, std::function&lt;void (const IDBGetResult&amp;, PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback)
</span><span class="lines">@@ -453,7 +453,7 @@
</span><span class="cx">     if (!serverRequest)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    serverRequest-&gt;completeRequest(resultKey.isNull ? nullptr : resultKey.maybeCreateIDBKey(), errorCode ? IDBDatabaseError::create(errorCode, errorMessage) : nullptr);
</del><ins>+    serverRequest-&gt;completeRequest(resultKey.isNull ? nullptr : resultKey.maybeCreateIDBKey(), errorCode ? IDBDatabaseError::create(errorCode, errorMessage).ptr() : nullptr);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::didGetRecord(uint64_t requestID, const WebCore::IDBGetResult&amp; getResult, uint32_t errorCode, const String&amp; errorMessage)
</span><span class="lines">@@ -465,7 +465,7 @@
</span><span class="cx">     if (!serverRequest)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    serverRequest-&gt;completeRequest(getResult, errorCode ? IDBDatabaseError::create(errorCode, errorMessage) : nullptr);
</del><ins>+    serverRequest-&gt;completeRequest(getResult, errorCode ? IDBDatabaseError::create(errorCode, errorMessage).ptr() : nullptr);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::didOpenCursor(uint64_t requestID, int64_t cursorID, const IDBKeyData&amp; key, const IDBKeyData&amp; primaryKey, const IPC::DataReference&amp; valueData, uint32_t errorCode, const String&amp; errorMessage)
</span><span class="lines">@@ -478,7 +478,7 @@
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;SharedBuffer&gt; value = SharedBuffer::create(valueData.data(), valueData.size());
</span><del>-    serverRequest-&gt;completeRequest(cursorID, key.maybeCreateIDBKey(), primaryKey.maybeCreateIDBKey(), value.release(), errorCode ? IDBDatabaseError::create(errorCode, errorMessage) : nullptr);
</del><ins>+    serverRequest-&gt;completeRequest(cursorID, key.maybeCreateIDBKey(), primaryKey.maybeCreateIDBKey(), value.release(), errorCode ? IDBDatabaseError::create(errorCode, errorMessage).ptr() : nullptr);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::didAdvanceCursor(uint64_t requestID, const IDBKeyData&amp; key, const IDBKeyData&amp; primaryKey, const IPC::DataReference&amp; valueData, uint32_t errorCode, const String&amp; errorMessage)
</span><span class="lines">@@ -491,7 +491,7 @@
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;SharedBuffer&gt; value = SharedBuffer::create(valueData.data(), valueData.size());
</span><del>-    serverRequest-&gt;completeRequest(key.maybeCreateIDBKey(), primaryKey.maybeCreateIDBKey(), value.release(), errorCode ? IDBDatabaseError::create(errorCode, errorMessage) : nullptr);
</del><ins>+    serverRequest-&gt;completeRequest(key.maybeCreateIDBKey(), primaryKey.maybeCreateIDBKey(), value.release(), errorCode ? IDBDatabaseError::create(errorCode, errorMessage).ptr() : nullptr);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::didIterateCursor(uint64_t requestID, const IDBKeyData&amp; key, const IDBKeyData&amp; primaryKey, const IPC::DataReference&amp; valueData, uint32_t errorCode, const String&amp; errorMessage)
</span><span class="lines">@@ -504,7 +504,7 @@
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;SharedBuffer&gt; value = SharedBuffer::create(valueData.data(), valueData.size());
</span><del>-    serverRequest-&gt;completeRequest(key.maybeCreateIDBKey(), primaryKey.maybeCreateIDBKey(), value.release(), errorCode ? IDBDatabaseError::create(errorCode, errorMessage) : nullptr);
</del><ins>+    serverRequest-&gt;completeRequest(key.maybeCreateIDBKey(), primaryKey.maybeCreateIDBKey(), value.release(), errorCode ? IDBDatabaseError::create(errorCode, errorMessage).ptr() : nullptr);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::count(IDBTransactionBackend&amp; transaction, const CountOperation&amp; operation, std::function&lt;void (int64_t, PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback)
</span><span class="lines">@@ -533,7 +533,7 @@
</span><span class="cx">     if (!serverRequest)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    serverRequest-&gt;completeRequest(count, errorCode ? IDBDatabaseError::create(errorCode, errorMessage) : nullptr);
</del><ins>+    serverRequest-&gt;completeRequest(count, errorCode ? IDBDatabaseError::create(errorCode, errorMessage).ptr() : nullptr);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::deleteRange(IDBTransactionBackend&amp; transaction, const DeleteRangeOperation&amp; operation, std::function&lt;void (PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback)
</span><span class="lines">@@ -562,7 +562,7 @@
</span><span class="cx">     if (!serverRequest)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    serverRequest-&gt;completeRequest(errorCode ? IDBDatabaseError::create(errorCode, errorMessage) : nullptr);
</del><ins>+    serverRequest-&gt;completeRequest(errorCode ? IDBDatabaseError::create(errorCode, errorMessage).ptr() : nullptr);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::clearObjectStore(IDBTransactionBackend&amp;, const ClearObjectStoreOperation&amp; operation, std::function&lt;void (PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback)
</span><span class="lines">@@ -591,7 +591,7 @@
</span><span class="cx">     if (!serverRequest)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured clearing object store&quot;));
</del><ins>+    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured clearing object store&quot;).ptr());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::deleteObjectStore(IDBTransactionBackend&amp;, const DeleteObjectStoreOperation&amp; operation, std::function&lt;void (PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback)
</span><span class="lines">@@ -620,7 +620,7 @@
</span><span class="cx">     if (!serverRequest)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured deleting object store&quot;));
</del><ins>+    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured deleting object store&quot;).ptr());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::changeDatabaseVersion(IDBTransactionBackend&amp;, const IDBDatabaseBackend::VersionChangeOperation&amp; operation, std::function&lt;void (PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback)
</span><span class="lines">@@ -649,7 +649,7 @@
</span><span class="cx">     if (!serverRequest)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured changing database version&quot;));
</del><ins>+    serverRequest-&gt;completeRequest(success ? nullptr : IDBDatabaseError::create(IDBDatabaseException::UnknownError, &quot;Unknown error occured changing database version&quot;).ptr());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebIDBServerConnection::openCursor(IDBTransactionBackend&amp;, const OpenCursorOperation&amp; operation, std::function&lt;void (int64_t, PassRefPtr&lt;IDBKey&gt;, PassRefPtr&lt;IDBKey&gt;, PassRefPtr&lt;SharedBuffer&gt;, PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback)
</span></span></pre>
</div>
</div>

</body>
</html>