<!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>[167854] trunk/Source/WebKit2</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/167854">167854</a></dd>
<dt>Author</dt> <dd>zandobersek@gmail.com</dd>
<dt>Date</dt> <dd>2014-04-27 06:40:14 -0700 (Sun, 27 Apr 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Move cross-port WebKit2 code to std::unique_ptr
https://bugs.webkit.org/show_bug.cgi?id=129670

Reviewed by Darin Adler.

Replace uses of OwnPtr, PassOwnPtr in cross-port WebKit2 code with std::unique_ptr.

* DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
(WebKit::UniqueIDBDatabaseBackingStoreSQLite::createIndex):
* DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h:
* NetworkProcess/NetworkProcess.h:
(WebKit::NetworkProcess::addSupplement):
* NetworkProcess/SynchronousNetworkLoaderClient.cpp:
(WebKit::SynchronousNetworkLoaderClient::didReceiveBuffer):
* NetworkProcess/SynchronousNetworkLoaderClient.h:
* Platform/IPC/Connection.cpp:
(IPC::Connection::dispatchWorkQueueMessageReceiverMessage):
* Platform/IPC/Connection.h:
* Platform/IPC/MessageReceiver.h:
* Platform/Module.h:
* Platform/WorkQueue.h:
* Platform/efl/ModuleEfl.cpp:
(WebKit::Module::load):
* Platform/mac/LayerHostingContext.mm:
* Shared/APIURL.h:
* Shared/Network/CustomProtocols/CustomProtocolManager.h:
* Shared/Plugins/NPRemoteObjectMap.cpp:
* Shared/ShareableBitmap.h:
* UIProcess/DrawingAreaProxyImpl.h:
* UIProcess/InspectorServer/WebSocketServer.cpp:
(WebKit::WebSocketServer::didAcceptConnection):
(WebKit::WebSocketServer::didCloseWebSocketServerConnection):
* UIProcess/InspectorServer/WebSocketServer.h:
* UIProcess/InspectorServer/soup/WebSocketServerSoup.cpp:
(WebKit::connectionCallback):
* UIProcess/Network/NetworkProcessProxy.cpp:
(WebKit::NetworkProcessProxy::createDownloadProxy):
* UIProcess/Network/NetworkProcessProxy.h:
* UIProcess/Notifications/WebNotificationManagerProxy.h:
* UIProcess/Plugins/WebPluginSiteDataManager.cpp:
(WebKit::WebPluginSiteDataManager::getSitesWithData):
(WebKit::WebPluginSiteDataManager::clearSiteData):
(WebKit::WebPluginSiteDataManager::didGetSitesWithDataForAllPlugins):
(WebKit::WebPluginSiteDataManager::didClearSiteDataForAllPlugins):
* UIProcess/Plugins/WebPluginSiteDataManager.h:
* UIProcess/Storage/StorageManager.cpp:
(WebKit::callCallbackFunction):
(WebKit::StorageManager::getOriginsInternal):
* UIProcess/WebPageProxy.cpp:
(WebKit::ExceededDatabaseQuotaRecords::areBeingProcessed):
(WebKit::ExceededDatabaseQuotaRecords::createRecord):
(WebKit::ExceededDatabaseQuotaRecords::add):
(WebKit::ExceededDatabaseQuotaRecords::next):
(WebKit::WebPageProxy::handleMouseEvent):
(WebKit::WebPageProxy::handleWheelEvent):
(WebKit::WebPageProxy::processNextQueuedWheelEvent):
(WebKit::WebPageProxy::internalShowContextMenu):
* UIProcess/WebPageProxy.h:
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::createDownloadProxy):
* UIProcess/WebProcessProxy.h:
* WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
(WebKit::PluginDestructionProtector::PluginDestructionProtector):
* WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
(WebKit::NetscapePluginStream::deliverData):
* WebProcess/Plugins/Netscape/NetscapePluginStream.h:
* WebProcess/Plugins/PluginProcessConnectionManager.h:
* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::initialize):
(WebKit::PluginProxy::didCreatePluginInternal):
(WebKit::PluginProxy::didFailToCreatePluginInternal):
* WebProcess/Plugins/PluginProxy.h:
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::createWebEvent):
(WebKit::PluginView::handleEvent):
* WebProcess/Plugins/PluginView.h:
* WebProcess/WebCoreSupport/WebPopupMenu.h:
* WebProcess/WebPage/EventDispatcher.cpp:
(WebKit::EventDispatcher::EventDispatcher):
* WebProcess/WebPage/EventDispatcher.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::beginPrinting):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebProcess.h:
(WebKit::WebProcess::addSupplement):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessIndexedDBsqliteUniqueIDBDatabaseBackingStoreSQLitecpp">trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessIndexedDBsqliteUniqueIDBDatabaseBackingStoreSQLiteh">trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessNetworkProcessh">trunk/Source/WebKit2/NetworkProcess/NetworkProcess.h</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessSynchronousNetworkLoaderClientcpp">trunk/Source/WebKit2/NetworkProcess/SynchronousNetworkLoaderClient.cpp</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessSynchronousNetworkLoaderClienth">trunk/Source/WebKit2/NetworkProcess/SynchronousNetworkLoaderClient.h</a></li>
<li><a href="#trunkSourceWebKit2PlatformIPCConnectioncpp">trunk/Source/WebKit2/Platform/IPC/Connection.cpp</a></li>
<li><a href="#trunkSourceWebKit2PlatformIPCConnectionh">trunk/Source/WebKit2/Platform/IPC/Connection.h</a></li>
<li><a href="#trunkSourceWebKit2PlatformIPCMessageReceiverh">trunk/Source/WebKit2/Platform/IPC/MessageReceiver.h</a></li>
<li><a href="#trunkSourceWebKit2PlatformWorkQueueh">trunk/Source/WebKit2/Platform/WorkQueue.h</a></li>
<li><a href="#trunkSourceWebKit2PlatformeflModuleEflcpp">trunk/Source/WebKit2/Platform/efl/ModuleEfl.cpp</a></li>
<li><a href="#trunkSourceWebKit2PlatformmacLayerHostingContextmm">trunk/Source/WebKit2/Platform/mac/LayerHostingContext.mm</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIURLh">trunk/Source/WebKit2/Shared/APIURL.h</a></li>
<li><a href="#trunkSourceWebKit2SharedNetworkCustomProtocolsCustomProtocolManagerh">trunk/Source/WebKit2/Shared/Network/CustomProtocols/CustomProtocolManager.h</a></li>
<li><a href="#trunkSourceWebKit2SharedPluginsNPRemoteObjectMapcpp">trunk/Source/WebKit2/Shared/Plugins/NPRemoteObjectMap.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedShareableBitmaph">trunk/Source/WebKit2/Shared/ShareableBitmap.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessDrawingAreaProxyImplh">trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessInspectorServerWebSocketServercpp">trunk/Source/WebKit2/UIProcess/InspectorServer/WebSocketServer.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessInspectorServerWebSocketServerh">trunk/Source/WebKit2/UIProcess/InspectorServer/WebSocketServer.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessInspectorServersoupWebSocketServerSoupcpp">trunk/Source/WebKit2/UIProcess/InspectorServer/soup/WebSocketServerSoup.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessNetworkNetworkProcessProxycpp">trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessNetworkNetworkProcessProxyh">trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessNotificationsWebNotificationManagerProxyh">trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationManagerProxy.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessPluginsWebPluginSiteDataManagercpp">trunk/Source/WebKit2/UIProcess/Plugins/WebPluginSiteDataManager.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessPluginsWebPluginSiteDataManagerh">trunk/Source/WebKit2/UIProcess/Plugins/WebPluginSiteDataManager.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessStorageStorageManagercpp">trunk/Source/WebKit2/UIProcess/Storage/StorageManager.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebPageProxycpp">trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebPageProxyh">trunk/Source/WebKit2/UIProcess/WebPageProxy.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebProcessProxycpp">trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebProcessProxyh">trunk/Source/WebKit2/UIProcess/WebProcessProxy.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessPluginsNetscapeNetscapeBrowserFuncscpp">trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessPluginsNetscapeNetscapePluginStreamcpp">trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessPluginsNetscapeNetscapePluginStreamh">trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessPluginsPluginProcessConnectionManagerh">trunk/Source/WebKit2/WebProcess/Plugins/PluginProcessConnectionManager.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessPluginsPluginProxycpp">trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessPluginsPluginProxyh">trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessPluginsPluginViewcpp">trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessPluginsPluginViewh">trunk/Source/WebKit2/WebProcess/Plugins/PluginView.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportWebPopupMenuh">trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageEventDispatchercpp">trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageEventDispatcherh">trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagecpp">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPageh">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebProcessh">trunk/Source/WebKit2/WebProcess/WebProcess.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/ChangeLog        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -1,3 +1,92 @@
</span><ins>+2014-04-27  Zan Dobersek  &lt;zdobersek@igalia.com&gt;
+
+        Move cross-port WebKit2 code to std::unique_ptr
+        https://bugs.webkit.org/show_bug.cgi?id=129670
+
+        Reviewed by Darin Adler.
+
+        Replace uses of OwnPtr, PassOwnPtr in cross-port WebKit2 code with std::unique_ptr.
+
+        * DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
+        (WebKit::UniqueIDBDatabaseBackingStoreSQLite::createIndex):
+        * DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h:
+        * NetworkProcess/NetworkProcess.h:
+        (WebKit::NetworkProcess::addSupplement):
+        * NetworkProcess/SynchronousNetworkLoaderClient.cpp:
+        (WebKit::SynchronousNetworkLoaderClient::didReceiveBuffer):
+        * NetworkProcess/SynchronousNetworkLoaderClient.h:
+        * Platform/IPC/Connection.cpp:
+        (IPC::Connection::dispatchWorkQueueMessageReceiverMessage):
+        * Platform/IPC/Connection.h:
+        * Platform/IPC/MessageReceiver.h:
+        * Platform/Module.h:
+        * Platform/WorkQueue.h:
+        * Platform/efl/ModuleEfl.cpp:
+        (WebKit::Module::load):
+        * Platform/mac/LayerHostingContext.mm:
+        * Shared/APIURL.h:
+        * Shared/Network/CustomProtocols/CustomProtocolManager.h:
+        * Shared/Plugins/NPRemoteObjectMap.cpp:
+        * Shared/ShareableBitmap.h:
+        * UIProcess/DrawingAreaProxyImpl.h:
+        * UIProcess/InspectorServer/WebSocketServer.cpp:
+        (WebKit::WebSocketServer::didAcceptConnection):
+        (WebKit::WebSocketServer::didCloseWebSocketServerConnection):
+        * UIProcess/InspectorServer/WebSocketServer.h:
+        * UIProcess/InspectorServer/soup/WebSocketServerSoup.cpp:
+        (WebKit::connectionCallback):
+        * UIProcess/Network/NetworkProcessProxy.cpp:
+        (WebKit::NetworkProcessProxy::createDownloadProxy):
+        * UIProcess/Network/NetworkProcessProxy.h:
+        * UIProcess/Notifications/WebNotificationManagerProxy.h:
+        * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
+        (WebKit::WebPluginSiteDataManager::getSitesWithData):
+        (WebKit::WebPluginSiteDataManager::clearSiteData):
+        (WebKit::WebPluginSiteDataManager::didGetSitesWithDataForAllPlugins):
+        (WebKit::WebPluginSiteDataManager::didClearSiteDataForAllPlugins):
+        * UIProcess/Plugins/WebPluginSiteDataManager.h:
+        * UIProcess/Storage/StorageManager.cpp:
+        (WebKit::callCallbackFunction):
+        (WebKit::StorageManager::getOriginsInternal):
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::ExceededDatabaseQuotaRecords::areBeingProcessed):
+        (WebKit::ExceededDatabaseQuotaRecords::createRecord):
+        (WebKit::ExceededDatabaseQuotaRecords::add):
+        (WebKit::ExceededDatabaseQuotaRecords::next):
+        (WebKit::WebPageProxy::handleMouseEvent):
+        (WebKit::WebPageProxy::handleWheelEvent):
+        (WebKit::WebPageProxy::processNextQueuedWheelEvent):
+        (WebKit::WebPageProxy::internalShowContextMenu):
+        * UIProcess/WebPageProxy.h:
+        * UIProcess/WebProcessProxy.cpp:
+        (WebKit::WebProcessProxy::createDownloadProxy):
+        * UIProcess/WebProcessProxy.h:
+        * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
+        (WebKit::PluginDestructionProtector::PluginDestructionProtector):
+        * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
+        (WebKit::NetscapePluginStream::deliverData):
+        * WebProcess/Plugins/Netscape/NetscapePluginStream.h:
+        * WebProcess/Plugins/PluginProcessConnectionManager.h:
+        * WebProcess/Plugins/PluginProxy.cpp:
+        (WebKit::PluginProxy::initialize):
+        (WebKit::PluginProxy::didCreatePluginInternal):
+        (WebKit::PluginProxy::didFailToCreatePluginInternal):
+        * WebProcess/Plugins/PluginProxy.h:
+        * WebProcess/Plugins/PluginView.cpp:
+        (WebKit::PluginView::createWebEvent):
+        (WebKit::PluginView::handleEvent):
+        * WebProcess/Plugins/PluginView.h:
+        * WebProcess/WebCoreSupport/WebPopupMenu.h:
+        * WebProcess/WebPage/EventDispatcher.cpp:
+        (WebKit::EventDispatcher::EventDispatcher):
+        * WebProcess/WebPage/EventDispatcher.h:
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::WebPage):
+        (WebKit::WebPage::beginPrinting):
+        * WebProcess/WebPage/WebPage.h:
+        * WebProcess/WebProcess.h:
+        (WebKit::WebProcess::addSupplement):
+
</ins><span class="cx"> 2014-04-27  Antti Koivisto  &lt;antti@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Coalesce responses on network process side
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessIndexedDBsqliteUniqueIDBDatabaseBackingStoreSQLitecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -630,7 +630,7 @@
</span><span class="cx"> 
</span><span class="cx">     m_cursors.set(cursor-&gt;identifier(), cursor);
</span><span class="cx"> 
</span><del>-    OwnPtr&lt;JSLockHolder&gt; locker;
</del><ins>+    std::unique_ptr&lt;JSLockHolder&gt; locker;
</ins><span class="cx">     while (!cursor-&gt;currentKey().isNull) {
</span><span class="cx">         const IDBKeyData&amp; key = cursor-&gt;currentKey();
</span><span class="cx">         const Vector&lt;uint8_t&gt;&amp; valueBuffer = cursor-&gt;currentValueBuffer();
</span><span class="lines">@@ -638,12 +638,12 @@
</span><span class="cx">         if (!m_globalObject) {
</span><span class="cx">             ASSERT(!m_vm);
</span><span class="cx">             m_vm = VM::create();
</span><del>-            locker = adoptPtr(new JSLockHolder(m_vm.get()));
</del><ins>+            locker = std::make_unique&lt;JSLockHolder&gt;(m_vm.get());
</ins><span class="cx">             m_globalObject.set(*m_vm, JSGlobalObject::create(*m_vm, JSGlobalObject::createStructure(*m_vm, jsNull())));
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         if (!locker)
</span><del>-            locker = adoptPtr(new JSLockHolder(m_vm.get()));
</del><ins>+            locker = std::make_unique&lt;JSLockHolder&gt;(m_vm.get());
</ins><span class="cx"> 
</span><span class="cx">         Deprecated::ScriptValue value = deserializeIDBValueBuffer(m_globalObject-&gt;globalExec(), valueBuffer, true);
</span><span class="cx">         Vector&lt;IDBKeyData&gt; indexKeys;
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessIndexedDBsqliteUniqueIDBDatabaseBackingStoreSQLiteh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx"> #include &quot;UniqueIDBDatabase.h&quot; 
</span><span class="cx"> #include &quot;UniqueIDBDatabaseBackingStore.h&quot;
</span><span class="cx"> #include &lt;JavaScriptCore/Strong.h&gt;
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessNetworkProcessh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/NetworkProcess.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/NetworkProcess.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/NetworkProcess/NetworkProcess.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -34,6 +34,7 @@
</span><span class="cx"> #include &quot;MessageReceiverMap.h&quot;
</span><span class="cx"> #include &quot;NetworkResourceLoadScheduler.h&quot;
</span><span class="cx"> #include &lt;WebCore/SessionID.h&gt;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> #include &lt;wtf/NeverDestroyed.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -63,7 +64,7 @@
</span><span class="cx">     template &lt;typename T&gt;
</span><span class="cx">     void addSupplement()
</span><span class="cx">     {
</span><del>-        m_supplements.add(T::supplementName(), adoptPtr&lt;NetworkProcessSupplement&gt;(new T(this)));
</del><ins>+        m_supplements.add(T::supplementName(), std::make_unique&lt;T&gt;(this));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     void removeNetworkConnectionToWebProcess(NetworkConnectionToWebProcess*);
</span><span class="lines">@@ -134,7 +135,7 @@
</span><span class="cx">     bool m_hasSetCacheModel;
</span><span class="cx">     CacheModel m_cacheModel;
</span><span class="cx"> 
</span><del>-    typedef HashMap&lt;const char*, OwnPtr&lt;NetworkProcessSupplement&gt;, PtrHash&lt;const char*&gt;&gt; NetworkProcessSupplementMap;
</del><ins>+    typedef HashMap&lt;const char*, std::unique_ptr&lt;NetworkProcessSupplement&gt;, PtrHash&lt;const char*&gt;&gt; NetworkProcessSupplementMap;
</ins><span class="cx">     NetworkProcessSupplementMap m_supplements;
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(COCOA)
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessSynchronousNetworkLoaderClientcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/SynchronousNetworkLoaderClient.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/SynchronousNetworkLoaderClient.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/NetworkProcess/SynchronousNetworkLoaderClient.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -88,7 +88,7 @@
</span><span class="cx">     // It's unclear if the potential complexities of that approach are worth it.
</span><span class="cx">     
</span><span class="cx">     if (!m_responseData)
</span><del>-        m_responseData = adoptPtr(new Vector&lt;char&gt;);
</del><ins>+        m_responseData = std::make_unique&lt;Vector&lt;char&gt;&gt;();
</ins><span class="cx"> 
</span><span class="cx">     m_responseData-&gt;append(buffer-&gt;data(), buffer-&gt;size());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessSynchronousNetworkLoaderClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/SynchronousNetworkLoaderClient.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/SynchronousNetworkLoaderClient.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/NetworkProcess/SynchronousNetworkLoaderClient.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -31,6 +31,7 @@
</span><span class="cx"> #include &lt;WebCore/ResourceError.h&gt;
</span><span class="cx"> #include &lt;WebCore/ResourceRequest.h&gt;
</span><span class="cx"> #include &lt;WebCore/ResourceResponse.h&gt;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(NETWORK_PROCESS)
</span><span class="lines">@@ -66,7 +67,7 @@
</span><span class="cx">     RefPtr&lt;Messages::NetworkConnectionToWebProcess::PerformSynchronousLoad::DelayedReply&gt; m_delayedReply;
</span><span class="cx">     WebCore::ResourceResponse m_response;
</span><span class="cx">     WebCore::ResourceError m_error;
</span><del>-    OwnPtr&lt;Vector&lt;char&gt;&gt; m_responseData;
</del><ins>+    std::unique_ptr&lt;Vector&lt;char&gt;&gt; m_responseData;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebKit
</span></span></pre></div>
<a id="trunkSourceWebKit2PlatformIPCConnectioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Platform/IPC/Connection.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Platform/IPC/Connection.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/Platform/IPC/Connection.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -26,6 +26,7 @@
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="cx"> #include &quot;Connection.h&quot;
</span><span class="cx"> 
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/CurrentTime.h&gt;
</span><span class="cx"> #include &lt;wtf/HashSet.h&gt;
</span><span class="cx"> #include &lt;wtf/NeverDestroyed.h&gt;
</span><span class="lines">@@ -277,7 +278,7 @@
</span><span class="cx"> 
</span><span class="cx"> void Connection::dispatchWorkQueueMessageReceiverMessage(WorkQueueMessageReceiver* workQueueMessageReceiver, MessageDecoder* incomingMessageDecoder)
</span><span class="cx"> {
</span><del>-    OwnPtr&lt;MessageDecoder&gt; decoder = adoptPtr(incomingMessageDecoder);
</del><ins>+    std::unique_ptr&lt;MessageDecoder&gt; decoder(incomingMessageDecoder);
</ins><span class="cx"> 
</span><span class="cx">     if (!decoder-&gt;isSyncMessage()) {
</span><span class="cx">         workQueueMessageReceiver-&gt;didReceiveMessage(this, *decoder);
</span></span></pre></div>
<a id="trunkSourceWebKit2PlatformIPCConnectionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Platform/IPC/Connection.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Platform/IPC/Connection.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/Platform/IPC/Connection.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -38,7 +38,6 @@
</span><span class="cx"> #include &lt;wtf/Deque.h&gt;
</span><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/text/CString.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if OS(DARWIN)
</span></span></pre></div>
<a id="trunkSourceWebKit2PlatformIPCMessageReceiverh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Platform/IPC/MessageReceiver.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Platform/IPC/MessageReceiver.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/Platform/IPC/MessageReceiver.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> #define MessageReceiver_h
</span><span class="cx"> 
</span><span class="cx"> #include &lt;wtf/Assertions.h&gt;
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
</del><span class="cx"> 
</span><span class="cx"> namespace IPC {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2PlatformWorkQueueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Platform/WorkQueue.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Platform/WorkQueue.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/Platform/WorkQueue.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -36,7 +36,6 @@
</span><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> #include &lt;wtf/Functional.h&gt;
</span><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><del>-#include &lt;wtf/PassOwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="cx"> #include &lt;wtf/Threading.h&gt;
</span><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebKit2PlatformeflModuleEflcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Platform/efl/ModuleEfl.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Platform/efl/ModuleEfl.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/Platform/efl/ModuleEfl.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -20,8 +20,6 @@
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="cx"> #include &quot;Module.h&quot;
</span><span class="cx"> 
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
-#include &lt;wtf/PassOwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/text/CString.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span></span></pre></div>
<a id="trunkSourceWebKit2PlatformmacLayerHostingContextmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Platform/mac/LayerHostingContext.mm (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Platform/mac/LayerHostingContext.mm        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/Platform/mac/LayerHostingContext.mm        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -26,7 +26,6 @@
</span><span class="cx"> #import &quot;config.h&quot;
</span><span class="cx"> #import &quot;LayerHostingContext.h&quot;
</span><span class="cx"> 
</span><del>-#import &lt;wtf/OwnPtr.h&gt;
</del><span class="cx"> #import &lt;WebKitSystemInterface.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if __has_include(&lt;QuartzCore/QuartzCorePrivate.h&gt;)
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIURLh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/APIURL.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/APIURL.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/Shared/APIURL.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -29,8 +29,6 @@
</span><span class="cx"> #include &quot;APIObject.h&quot;
</span><span class="cx"> #include &quot;WebCoreArgumentCoders.h&quot;
</span><span class="cx"> #include &lt;WebCore/URL.h&gt;
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
-#include &lt;wtf/PassOwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedNetworkCustomProtocolsCustomProtocolManagerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/Network/CustomProtocols/CustomProtocolManager.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/Network/CustomProtocols/CustomProtocolManager.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/Shared/Network/CustomProtocols/CustomProtocolManager.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -40,6 +40,8 @@
</span><span class="cx"> #include &lt;wtf/RetainPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/Threading.h&gt;
</span><span class="cx"> OBJC_CLASS WKCustomProtocol;
</span><ins>+#else
+#include &quot;CustomProtocolManagerImpl.h&quot;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="lines">@@ -55,7 +57,6 @@
</span><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><span class="cx"> class ChildProcess;
</span><del>-class CustomProtocolManagerImpl;
</del><span class="cx"> struct NetworkProcessCreationParameters;
</span><span class="cx"> 
</span><span class="cx"> class CustomProtocolManager : public WebProcessSupplement, public NetworkProcessSupplement, public IPC::Connection::WorkQueueMessageReceiver {
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedPluginsNPRemoteObjectMapcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/Plugins/NPRemoteObjectMap.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/Plugins/NPRemoteObjectMap.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/Shared/Plugins/NPRemoteObjectMap.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -32,7 +32,6 @@
</span><span class="cx"> #include &quot;NPObjectProxy.h&quot;
</span><span class="cx"> #include &quot;NPRuntimeUtilities.h&quot;
</span><span class="cx"> #include &quot;NPVariantData.h&quot;
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
</del><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedShareableBitmaph"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/ShareableBitmap.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/ShareableBitmap.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/Shared/ShareableBitmap.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -28,7 +28,6 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;SharedMemory.h&quot;
</span><span class="cx"> #include &lt;WebCore/IntRect.h&gt;
</span><del>-#include &lt;wtf/PassOwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessDrawingAreaProxyImplh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> #include &quot;BackingStore.h&quot;
</span><span class="cx"> #include &quot;DrawingAreaProxy.h&quot;
</span><span class="cx"> #include &quot;LayerTreeContext.h&quot;
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RunLoop.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessInspectorServerWebSocketServercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/InspectorServer/WebSocketServer.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/InspectorServer/WebSocketServer.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/InspectorServer/WebSocketServer.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -32,7 +32,6 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;WebSocketServerConnection.h&quot;
</span><span class="cx"> #include &lt;WebCore/SocketStreamHandle.h&gt;
</span><del>-#include &lt;wtf/PassOwnPtr.h&gt;
</del><span class="cx"> 
</span><span class="cx"> using namespace WebCore;
</span><span class="cx"> 
</span><span class="lines">@@ -78,20 +77,20 @@
</span><span class="cx">     m_bindAddress = String();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebSocketServer::didAcceptConnection(PassOwnPtr&lt;WebSocketServerConnection&gt; connection)
</del><ins>+void WebSocketServer::didAcceptConnection(std::unique_ptr&lt;WebSocketServerConnection&gt; connection)
</ins><span class="cx"> {
</span><del>-    m_connections.append(connection);
</del><ins>+    m_connections.append(std::move(connection));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebSocketServer::didCloseWebSocketServerConnection(WebSocketServerConnection* connection)
</span><span class="cx"> {
</span><del>-    Deque&lt;OwnPtr&lt;WebSocketServerConnection&gt; &gt;::iterator end = m_connections.end();
-    for (Deque&lt;OwnPtr&lt;WebSocketServerConnection&gt; &gt;::iterator it = m_connections.begin(); it != end; ++it) {
</del><ins>+    for (auto it = m_connections.begin(), end = m_connections.end(); it != end; ++it) {
</ins><span class="cx">         if (it-&gt;get() == connection) {
</span><span class="cx">             m_connections.remove(it);
</span><span class="cx">             return;
</span><span class="cx">         }
</span><span class="cx">     }
</span><ins>+
</ins><span class="cx">     ASSERT_NOT_REACHED();
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessInspectorServerWebSocketServerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/InspectorServer/WebSocketServer.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/InspectorServer/WebSocketServer.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/InspectorServer/WebSocketServer.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -29,8 +29,8 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(INSPECTOR_SERVER)
</span><span class="cx"> 
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/Deque.h&gt;
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if USE(SOUP)
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx">     void close();
</span><span class="cx"> 
</span><span class="cx">     WebSocketServerClient* client() const { return m_client; }
</span><del>-    void didAcceptConnection(PassOwnPtr&lt;WebSocketServerConnection&gt;);
</del><ins>+    void didAcceptConnection(std::unique_ptr&lt;WebSocketServerConnection&gt;);
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     void didCloseWebSocketServerConnection(WebSocketServerConnection*);
</span><span class="lines">@@ -71,7 +71,7 @@
</span><span class="cx">     void platformClose();
</span><span class="cx"> 
</span><span class="cx">     ServerState m_state;
</span><del>-    Deque&lt;OwnPtr&lt;WebSocketServerConnection&gt; &gt; m_connections;
</del><ins>+    Deque&lt;std::unique_ptr&lt;WebSocketServerConnection&gt;&gt; m_connections;
</ins><span class="cx">     WebSocketServerClient* m_client;
</span><span class="cx">     String m_bindAddress;
</span><span class="cx">     unsigned short m_port;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessInspectorServersoupWebSocketServerSoupcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/InspectorServer/soup/WebSocketServerSoup.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/InspectorServer/soup/WebSocketServerSoup.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/InspectorServer/soup/WebSocketServerSoup.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx"> #include &lt;WebCore/SocketStreamHandle.h&gt;
</span><span class="cx"> #include &lt;gio/gio.h&gt;
</span><span class="cx"> #include &lt;glib.h&gt;
</span><del>-#include &lt;wtf/PassOwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/gobject/GUniquePtr.h&gt;
</span><span class="cx"> #include &lt;wtf/text/CString.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -47,9 +46,9 @@
</span><span class="cx">     LOG(InspectorServer, &quot;New Connection from %s:%d.&quot;, addressString.get(), g_inet_socket_address_get_port(G_INET_SOCKET_ADDRESS(socketAddress.get())));
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    OwnPtr&lt;WebSocketServerConnection&gt; webSocketConnection = adoptPtr(new WebSocketServerConnection(server-&gt;client(), server));
</del><ins>+    auto webSocketConnection = std::make_unique&lt;WebSocketServerConnection&gt;(server-&gt;client(), server);
</ins><span class="cx">     webSocketConnection-&gt;setSocketHandle(SocketStreamHandle::create(connection, webSocketConnection.get()));
</span><del>-    server-&gt;didAcceptConnection(webSocketConnection.release());
</del><ins>+    server-&gt;didAcceptConnection(std::move(webSocketConnection));
</ins><span class="cx"> 
</span><span class="cx">     return TRUE;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNetworkNetworkProcessProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -100,7 +100,7 @@
</span><span class="cx"> DownloadProxy* NetworkProcessProxy::createDownloadProxy()
</span><span class="cx"> {
</span><span class="cx">     if (!m_downloadProxyMap)
</span><del>-        m_downloadProxyMap = adoptPtr(new DownloadProxyMap(this));
</del><ins>+        m_downloadProxyMap = std::make_unique&lt;DownloadProxyMap&gt;(this);
</ins><span class="cx"> 
</span><span class="cx">     return m_downloadProxyMap-&gt;createDownloadProxy(m_webContext);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNetworkNetworkProcessProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -31,6 +31,7 @@
</span><span class="cx"> #include &quot;ChildProcessProxy.h&quot;
</span><span class="cx"> #include &quot;ProcessLauncher.h&quot;
</span><span class="cx"> #include &quot;WebProcessProxyMessages.h&quot;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/Deque.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(CUSTOM_PROTOCOLS)
</span><span class="lines">@@ -91,7 +92,7 @@
</span><span class="cx">     unsigned m_numPendingConnectionRequests;
</span><span class="cx">     Deque&lt;RefPtr&lt;Messages::WebProcessProxy::GetNetworkProcessConnection::DelayedReply&gt;&gt; m_pendingConnectionReplies;
</span><span class="cx"> 
</span><del>-    OwnPtr&lt;DownloadProxyMap&gt; m_downloadProxyMap;
</del><ins>+    std::unique_ptr&lt;DownloadProxyMap&gt; m_downloadProxyMap;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(CUSTOM_PROTOCOLS)
</span><span class="cx">     CustomProtocolManagerProxy m_customProtocolManagerProxy;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNotificationsWebNotificationManagerProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationManagerProxy.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationManagerProxy.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationManagerProxy.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -32,7 +32,6 @@
</span><span class="cx"> #include &quot;WebNotificationProvider.h&quot;
</span><span class="cx"> #include &lt;WebCore/NotificationClient.h&gt;
</span><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/text/StringHash.h&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessPluginsWebPluginSiteDataManagercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Plugins/WebPluginSiteDataManager.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Plugins/WebPluginSiteDataManager.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/Plugins/WebPluginSiteDataManager.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -153,7 +153,7 @@
</span><span class="cx">     ASSERT(!m_pendingGetSitesWithData.contains(callbackID));
</span><span class="cx"> 
</span><span class="cx">     GetSitesWithDataState* state = new GetSitesWithDataState(this, callbackID);
</span><del>-    m_pendingGetSitesWithData.set(callbackID, adoptPtr(state));
</del><ins>+    m_pendingGetSitesWithData.set(callbackID, std::unique_ptr&lt;GetSitesWithDataState&gt;(state));
</ins><span class="cx">     state-&gt;getSitesWithDataForNextPlugin();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -197,7 +197,7 @@
</span><span class="cx">     ASSERT(!m_pendingClearSiteData.contains(callbackID));
</span><span class="cx"> 
</span><span class="cx">     ClearSiteDataState* state = new ClearSiteDataState(this, sitesVector, flags, maxAgeInSeconds, callbackID);
</span><del>-    m_pendingClearSiteData.set(callbackID, adoptPtr(state));
</del><ins>+    m_pendingClearSiteData.set(callbackID, std::unique_ptr&lt;ClearSiteDataState&gt;(state));
</ins><span class="cx">     state-&gt;clearSiteDataForNextPlugin();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -222,7 +222,7 @@
</span><span class="cx"> 
</span><span class="cx"> void WebPluginSiteDataManager::didGetSitesWithDataForAllPlugins(const Vector&lt;String&gt;&amp; sites, uint64_t callbackID)
</span><span class="cx"> {
</span><del>-    OwnPtr&lt;GetSitesWithDataState&gt; state = m_pendingGetSitesWithData.take(callbackID);
</del><ins>+    std::unique_ptr&lt;GetSitesWithDataState&gt; state = m_pendingGetSitesWithData.take(callbackID);
</ins><span class="cx">     ASSERT(state);
</span><span class="cx"> 
</span><span class="cx">     didGetSitesWithData(sites, callbackID);
</span><span class="lines">@@ -238,7 +238,7 @@
</span><span class="cx"> 
</span><span class="cx"> void WebPluginSiteDataManager::didClearSiteDataForAllPlugins(uint64_t callbackID)
</span><span class="cx"> {
</span><del>-    OwnPtr&lt;ClearSiteDataState&gt; state = m_pendingClearSiteData.take(callbackID);
</del><ins>+    std::unique_ptr&lt;ClearSiteDataState&gt; state = m_pendingClearSiteData.take(callbackID);
</ins><span class="cx">     ASSERT(state);
</span><span class="cx"> 
</span><span class="cx">     didClearSiteData(callbackID);
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessPluginsWebPluginSiteDataManagerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Plugins/WebPluginSiteDataManager.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Plugins/WebPluginSiteDataManager.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/Plugins/WebPluginSiteDataManager.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -31,6 +31,7 @@
</span><span class="cx"> #include &quot;APIObject.h&quot;
</span><span class="cx"> #include &quot;Arguments.h&quot;
</span><span class="cx"> #include &quot;GenericCallback.h&quot;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -69,10 +70,10 @@
</span><span class="cx">     void didClearSiteDataForAllPlugins(uint64_t callbackID);
</span><span class="cx"> 
</span><span class="cx">     class GetSitesWithDataState;
</span><del>-    HashMap&lt;uint64_t, OwnPtr&lt;GetSitesWithDataState&gt;&gt; m_pendingGetSitesWithData;
</del><ins>+    HashMap&lt;uint64_t, std::unique_ptr&lt;GetSitesWithDataState&gt;&gt; m_pendingGetSitesWithData;
</ins><span class="cx"> 
</span><span class="cx">     class ClearSiteDataState;
</span><del>-    HashMap&lt;uint64_t, OwnPtr&lt;ClearSiteDataState&gt;&gt; m_pendingClearSiteData;
</del><ins>+    HashMap&lt;uint64_t, std::unique_ptr&lt;ClearSiteDataState&gt;&gt; m_pendingClearSiteData;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebKit
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessStorageStorageManagercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Storage/StorageManager.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Storage/StorageManager.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/Storage/StorageManager.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -37,6 +37,7 @@
</span><span class="cx"> #include &lt;WebCore/SecurityOriginHash.h&gt;
</span><span class="cx"> #include &lt;WebCore/StorageMap.h&gt;
</span><span class="cx"> #include &lt;WebCore/TextEncoding.h&gt;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> 
</span><span class="cx"> using namespace WebCore;
</span><span class="cx"> 
</span><span class="lines">@@ -631,14 +632,14 @@
</span><span class="cx"> 
</span><span class="cx"> static void callCallbackFunction(void* context, void (*callbackFunction)(const Vector&lt;RefPtr&lt;WebCore::SecurityOrigin&gt;&gt;&amp; securityOrigins, void* context), Vector&lt;RefPtr&lt;WebCore::SecurityOrigin&gt;&gt;* securityOriginsPtr)
</span><span class="cx"> {
</span><del>-    OwnPtr&lt;Vector&lt;RefPtr&lt;WebCore::SecurityOrigin&gt;&gt;&gt; securityOrigins = adoptPtr(securityOriginsPtr);
</del><ins>+    std::unique_ptr&lt;Vector&lt;RefPtr&lt;WebCore::SecurityOrigin&gt;&gt;&gt; securityOrigins(securityOriginsPtr);
</ins><span class="cx">     callbackFunction(*securityOrigins, context);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void StorageManager::getOriginsInternal(FunctionDispatcher* dispatcher, void* context, void (*callbackFunction)(const Vector&lt;RefPtr&lt;WebCore::SecurityOrigin&gt;&gt;&amp; securityOrigins, void* context))
</span><span class="cx"> {
</span><del>-    OwnPtr&lt;Vector&lt;RefPtr&lt;WebCore::SecurityOrigin&gt;&gt;&gt; securityOrigins = adoptPtr(new Vector&lt;RefPtr&lt;WebCore::SecurityOrigin&gt;&gt;(m_localStorageDatabaseTracker-&gt;origins()));
-    dispatcher-&gt;dispatch(bind(callCallbackFunction, context, callbackFunction, securityOrigins.leakPtr()));
</del><ins>+    auto securityOrigins = std::make_unique&lt;Vector&lt;RefPtr&lt;WebCore::SecurityOrigin&gt;&gt;&gt;(m_localStorageDatabaseTracker-&gt;origins());
+    dispatcher-&gt;dispatch(bind(callCallbackFunction, context, callbackFunction, securityOrigins.release()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void StorageManager::getStorageDetailsByOriginInternal(FunctionDispatcher* dispatcher, void* context, void (*callbackFunction)(const Vector&lt;LocalStorageDetails&gt;&amp; storageDetails, void* context))
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebPageProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -171,21 +171,21 @@
</span><span class="cx"> 
</span><span class="cx">     static ExceededDatabaseQuotaRecords&amp; shared();
</span><span class="cx"> 
</span><del>-    PassOwnPtr&lt;Record&gt; createRecord(uint64_t frameID, String originIdentifier,
</del><ins>+    std::unique_ptr&lt;Record&gt; createRecord(uint64_t frameID, String originIdentifier,
</ins><span class="cx">         String databaseName, String displayName, uint64_t currentQuota,
</span><span class="cx">         uint64_t currentOriginUsage, uint64_t currentDatabaseUsage, uint64_t expectedUsage, 
</span><span class="cx">         PassRefPtr&lt;Messages::WebPageProxy::ExceededDatabaseQuota::DelayedReply&gt;);
</span><span class="cx"> 
</span><del>-    void add(PassOwnPtr&lt;Record&gt;);
-    bool areBeingProcessed() const { return m_currentRecord; }
</del><ins>+    void add(std::unique_ptr&lt;Record&gt;);
+    bool areBeingProcessed() const { return !!m_currentRecord; }
</ins><span class="cx">     Record* next();
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     ExceededDatabaseQuotaRecords() { }
</span><span class="cx">     ~ExceededDatabaseQuotaRecords() { }
</span><span class="cx"> 
</span><del>-    Deque&lt;OwnPtr&lt;Record&gt;&gt; m_records;
-    OwnPtr&lt;Record&gt; m_currentRecord;
</del><ins>+    Deque&lt;std::unique_ptr&lt;Record&gt;&gt; m_records;
+    std::unique_ptr&lt;Record&gt; m_currentRecord;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> ExceededDatabaseQuotaRecords&amp; ExceededDatabaseQuotaRecords::shared()
</span><span class="lines">@@ -194,12 +194,12 @@
</span><span class="cx">     return records;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassOwnPtr&lt;ExceededDatabaseQuotaRecords::Record&gt; ExceededDatabaseQuotaRecords::createRecord(
</del><ins>+std::unique_ptr&lt;ExceededDatabaseQuotaRecords::Record&gt; ExceededDatabaseQuotaRecords::createRecord(
</ins><span class="cx">     uint64_t frameID, String originIdentifier, String databaseName, String displayName,
</span><span class="cx">     uint64_t currentQuota, uint64_t currentOriginUsage, uint64_t currentDatabaseUsage,
</span><span class="cx">     uint64_t expectedUsage, PassRefPtr&lt;Messages::WebPageProxy::ExceededDatabaseQuota::DelayedReply&gt; reply)
</span><span class="cx"> {
</span><del>-    OwnPtr&lt;Record&gt; record = adoptPtr(new Record);
</del><ins>+    auto record = std::make_unique&lt;Record&gt;();
</ins><span class="cx">     record-&gt;frameID = frameID;
</span><span class="cx">     record-&gt;originIdentifier = originIdentifier;
</span><span class="cx">     record-&gt;databaseName = databaseName;
</span><span class="lines">@@ -209,17 +209,17 @@
</span><span class="cx">     record-&gt;currentDatabaseUsage = currentDatabaseUsage;
</span><span class="cx">     record-&gt;expectedUsage = expectedUsage;
</span><span class="cx">     record-&gt;reply = reply;
</span><del>-    return record.release();
</del><ins>+    return std::move(record);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void ExceededDatabaseQuotaRecords::add(PassOwnPtr&lt;ExceededDatabaseQuotaRecords::Record&gt; record)
</del><ins>+void ExceededDatabaseQuotaRecords::add(std::unique_ptr&lt;ExceededDatabaseQuotaRecords::Record&gt; record)
</ins><span class="cx"> {
</span><del>-    m_records.append(record);
</del><ins>+    m_records.append(std::move(record));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> ExceededDatabaseQuotaRecords::Record* ExceededDatabaseQuotaRecords::next()
</span><span class="cx"> {
</span><del>-    m_currentRecord.clear();
</del><ins>+    m_currentRecord = nullptr;
</ins><span class="cx">     if (!m_records.isEmpty())
</span><span class="cx">         m_currentRecord = m_records.takeFirst();
</span><span class="cx">     return m_currentRecord.get();
</span><span class="lines">@@ -1264,7 +1264,7 @@
</span><span class="cx">         m_process-&gt;responsivenessTimer()-&gt;start();
</span><span class="cx">     else {
</span><span class="cx">         if (m_processingMouseMoveEvent) {
</span><del>-            m_nextMouseMoveEvent = adoptPtr(new NativeWebMouseEvent(event));
</del><ins>+            m_nextMouseMoveEvent = std::make_unique&lt;NativeWebMouseEvent&gt;(event);
</ins><span class="cx">             return;
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -1276,7 +1276,7 @@
</span><span class="cx">     // we fake a mouse up event by using this stored down event. This event gets cleared
</span><span class="cx">     // when the mouse up message is received from WebProcess.
</span><span class="cx">     if (event.type() == WebEvent::MouseDown)
</span><del>-        m_currentlyProcessedMouseDownEvent = adoptPtr(new NativeWebMouseEvent(event));
</del><ins>+        m_currentlyProcessedMouseDownEvent = std::make_unique&lt;NativeWebMouseEvent&gt;(event);
</ins><span class="cx"> 
</span><span class="cx">     if (m_shouldSendEventsSynchronously) {
</span><span class="cx">         bool handled = false;
</span><span class="lines">@@ -1372,17 +1372,17 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    OwnPtr&lt;Vector&lt;NativeWebWheelEvent&gt;&gt; coalescedWheelEvent = adoptPtr(new Vector&lt;NativeWebWheelEvent&gt;);
</del><ins>+    auto coalescedWheelEvent = std::make_unique&lt;Vector&lt;NativeWebWheelEvent&gt;&gt;();
</ins><span class="cx">     coalescedWheelEvent-&gt;append(event);
</span><del>-    m_currentlyProcessedWheelEvents.append(coalescedWheelEvent.release());
</del><ins>+    m_currentlyProcessedWheelEvents.append(std::move(coalescedWheelEvent));
</ins><span class="cx">     sendWheelEvent(event);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebPageProxy::processNextQueuedWheelEvent()
</span><span class="cx"> {
</span><del>-    OwnPtr&lt;Vector&lt;NativeWebWheelEvent&gt;&gt; nextCoalescedEvent = adoptPtr(new Vector&lt;NativeWebWheelEvent&gt;);
</del><ins>+    auto nextCoalescedEvent = std::make_unique&lt;Vector&lt;NativeWebWheelEvent&gt;&gt;();
</ins><span class="cx">     WebWheelEvent nextWheelEvent = coalescedWheelEvent(m_wheelEventQueue, *nextCoalescedEvent.get());
</span><del>-    m_currentlyProcessedWheelEvents.append(nextCoalescedEvent.release());
</del><ins>+    m_currentlyProcessedWheelEvents.append(std::move(nextCoalescedEvent));
</ins><span class="cx">     sendWheelEvent(nextWheelEvent);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -3787,7 +3787,7 @@
</span><span class="cx">     case WebEvent::Wheel: {
</span><span class="cx">         MESSAGE_CHECK(!m_currentlyProcessedWheelEvents.isEmpty());
</span><span class="cx"> 
</span><del>-        OwnPtr&lt;Vector&lt;NativeWebWheelEvent&gt;&gt; oldestCoalescedEvent = m_currentlyProcessedWheelEvents.takeFirst();
</del><ins>+        std::unique_ptr&lt;Vector&lt;NativeWebWheelEvent&gt;&gt; oldestCoalescedEvent = m_currentlyProcessedWheelEvents.takeFirst();
</ins><span class="cx"> 
</span><span class="cx">         // FIXME: Dispatch additional events to the didNotHandleWheelEvent client function.
</span><span class="cx">         if (!handled) {
</span><span class="lines">@@ -4301,10 +4301,10 @@
</span><span class="cx"> void WebPageProxy::exceededDatabaseQuota(uint64_t frameID, const String&amp; originIdentifier, const String&amp; databaseName, const String&amp; displayName, uint64_t currentQuota, uint64_t currentOriginUsage, uint64_t currentDatabaseUsage, uint64_t expectedUsage, PassRefPtr&lt;Messages::WebPageProxy::ExceededDatabaseQuota::DelayedReply&gt; reply)
</span><span class="cx"> {
</span><span class="cx">     ExceededDatabaseQuotaRecords&amp; records = ExceededDatabaseQuotaRecords::shared();
</span><del>-    OwnPtr&lt;ExceededDatabaseQuotaRecords::Record&gt; newRecord =  records.createRecord(frameID,
</del><ins>+    std::unique_ptr&lt;ExceededDatabaseQuotaRecords::Record&gt; newRecord = records.createRecord(frameID,
</ins><span class="cx">         originIdentifier, databaseName, displayName, currentQuota, currentOriginUsage,
</span><span class="cx">         currentDatabaseUsage, expectedUsage, reply);
</span><del>-    records.add(newRecord.release());
</del><ins>+    records.add(std::move(newRecord));
</ins><span class="cx"> 
</span><span class="cx">     if (records.areBeingProcessed())
</span><span class="cx">         return;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebPageProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebPageProxy.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -68,10 +68,9 @@
</span><span class="cx"> #include &lt;WebCore/TextChecking.h&gt;
</span><span class="cx"> #include &lt;WebCore/TextGranularity.h&gt;
</span><span class="cx"> #include &lt;WebCore/ViewState.h&gt;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="cx"> #include &lt;wtf/HashSet.h&gt;
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
-#include &lt;wtf/PassOwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/Ref.h&gt;
</span><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="lines">@@ -1554,11 +1553,11 @@
</span><span class="cx"> 
</span><span class="cx">     Deque&lt;NativeWebKeyboardEvent&gt; m_keyEventQueue;
</span><span class="cx">     Deque&lt;NativeWebWheelEvent&gt; m_wheelEventQueue;
</span><del>-    Deque&lt;OwnPtr&lt;Vector&lt;NativeWebWheelEvent&gt;&gt;&gt; m_currentlyProcessedWheelEvents;
</del><ins>+    Deque&lt;std::unique_ptr&lt;Vector&lt;NativeWebWheelEvent&gt;&gt;&gt; m_currentlyProcessedWheelEvents;
</ins><span class="cx"> 
</span><span class="cx">     bool m_processingMouseMoveEvent;
</span><del>-    OwnPtr&lt;NativeWebMouseEvent&gt; m_nextMouseMoveEvent;
-    OwnPtr&lt;NativeWebMouseEvent&gt; m_currentlyProcessedMouseDownEvent;
</del><ins>+    std::unique_ptr&lt;NativeWebMouseEvent&gt; m_nextMouseMoveEvent;
+    std::unique_ptr&lt;NativeWebMouseEvent&gt; m_currentlyProcessedMouseDownEvent;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(TOUCH_EVENTS)
</span><span class="cx">     bool m_isTrackingTouchEvents;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebProcessProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -545,7 +545,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     if (!m_downloadProxyMap)
</span><del>-        m_downloadProxyMap = adoptPtr(new DownloadProxyMap(this));
</del><ins>+        m_downloadProxyMap = std::make_unique&lt;DownloadProxyMap&gt;(this);
</ins><span class="cx"> 
</span><span class="cx">     return m_downloadProxyMap-&gt;createDownloadProxy(m_context.get());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebProcessProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebProcessProxy.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebProcessProxy.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/UIProcess/WebProcessProxy.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -37,6 +37,7 @@
</span><span class="cx"> #include &quot;WebPageProxy.h&quot;
</span><span class="cx"> #include &quot;WebProcessProxyMessages.h&quot;
</span><span class="cx"> #include &lt;WebCore/LinkHash.h&gt;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="lines">@@ -204,7 +205,7 @@
</span><span class="cx">     WebFrameProxyMap m_frameMap;
</span><span class="cx">     WebBackForwardListItemMap m_backForwardListItemMap;
</span><span class="cx"> 
</span><del>-    OwnPtr&lt;DownloadProxyMap&gt; m_downloadProxyMap;
</del><ins>+    std::unique_ptr&lt;DownloadProxyMap&gt; m_downloadProxyMap;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(CUSTOM_PROTOCOLS)
</span><span class="cx">     CustomProtocolManagerProxy m_customProtocolManagerProxy;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessPluginsNetscapeNetscapeBrowserFuncscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -36,6 +36,7 @@
</span><span class="cx"> #include &lt;WebCore/NotImplemented.h&gt;
</span><span class="cx"> #include &lt;WebCore/ProtectionSpace.h&gt;
</span><span class="cx"> #include &lt;WebCore/SharedBuffer.h&gt;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;utility&gt;
</span><span class="cx"> #include &lt;wtf/text/StringBuilder.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -49,11 +50,11 @@
</span><span class="cx">     explicit PluginDestructionProtector(NetscapePlugin* plugin)
</span><span class="cx">     {
</span><span class="cx">         if (plugin)
</span><del>-            m_protector = adoptPtr(new PluginController::PluginDestructionProtector(static_cast&lt;Plugin*&gt;(plugin)-&gt;controller()));
</del><ins>+            m_protector = std::make_unique&lt;PluginController::PluginDestructionProtector&gt;(static_cast&lt;Plugin*&gt;(plugin)-&gt;controller());
</ins><span class="cx">     }
</span><span class="cx">     
</span><span class="cx"> private:
</span><del>-    OwnPtr&lt;PluginController::PluginDestructionProtector&gt; m_protector;
</del><ins>+    std::unique_ptr&lt;PluginController::PluginDestructionProtector&gt; m_protector;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> static bool startsWithBlankLine(const char* bytes, unsigned length)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessPluginsNetscapeNetscapePluginStreamcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;NetscapePlugin.h&quot;
</span><span class="cx"> #include &lt;utility&gt;
</span><del>-#include &lt;wtf/PassOwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="cx"> 
</span><span class="cx"> using namespace WebCore;
</span><span class="lines">@@ -187,7 +186,7 @@
</span><span class="cx"> 
</span><span class="cx">     if (m_transferMode != NP_ASFILEONLY) {
</span><span class="cx">         if (!m_deliveryData)
</span><del>-            m_deliveryData = adoptPtr(new Vector&lt;uint8_t&gt;);
</del><ins>+            m_deliveryData = std::make_unique&lt;Vector&lt;uint8_t&gt;&gt;();
</ins><span class="cx"> 
</span><span class="cx">         m_deliveryData-&gt;reserveCapacity(m_deliveryData-&gt;size() + length);
</span><span class="cx">         m_deliveryData-&gt;append(bytes, length);
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessPluginsNetscapeNetscapePluginStreamh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -30,6 +30,7 @@
</span><span class="cx"> 
</span><span class="cx"> #include &lt;WebCore/FileSystem.h&gt;
</span><span class="cx"> #include &lt;WebCore/npruntime_internal.h&gt;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="lines">@@ -106,7 +107,7 @@
</span><span class="cx">     CString m_headers;
</span><span class="cx"> 
</span><span class="cx">     RunLoop::Timer&lt;NetscapePluginStream&gt; m_deliveryDataTimer;
</span><del>-    OwnPtr&lt; Vector&lt;uint8_t&gt;&gt; m_deliveryData;
</del><ins>+    std::unique_ptr&lt;Vector&lt;uint8_t&gt;&gt; m_deliveryData;
</ins><span class="cx">     bool m_stopStreamWhenDoneDelivering;
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessPluginsPluginProcessConnectionManagerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Plugins/PluginProcessConnectionManager.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Plugins/PluginProcessConnectionManager.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PluginProcessConnectionManager.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -52,8 +52,6 @@
</span><span class="cx">     PluginProcessConnection* getPluginProcessConnection(uint64_t pluginProcessToken);
</span><span class="cx">     void removePluginProcessConnection(PluginProcessConnection*);
</span><span class="cx"> 
</span><del>-    void didReceivePluginProcessConnectionManagerMessageOnConnectionWorkQueue(IPC::Connection*, OwnPtr&lt;IPC::MessageDecoder&gt;&amp;);
-
</del><span class="cx"> private:
</span><span class="cx">     PluginProcessConnectionManager();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessPluginsPluginProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx">     m_connection-&gt;addPluginProxy(this);
</span><span class="cx"> 
</span><span class="cx">     // Ask the plug-in process to create a plug-in.
</span><del>-    m_pendingPluginCreationParameters = adoptPtr(new PluginCreationParameters);
</del><ins>+    m_pendingPluginCreationParameters = std::make_unique&lt;PluginCreationParameters&gt;();
</ins><span class="cx"> 
</span><span class="cx">     m_pendingPluginCreationParameters-&gt;pluginInstanceID = m_pluginInstanceID;
</span><span class="cx">     m_pendingPluginCreationParameters-&gt;windowNPObjectID = windowNPObjectID();
</span><span class="lines">@@ -170,7 +170,7 @@
</span><span class="cx"> 
</span><span class="cx">     // Whether synchronously or asynchronously, this plug-in was created and we shouldn't need to remember
</span><span class="cx">     // anything about how.
</span><del>-    m_pendingPluginCreationParameters.clear();
</del><ins>+    m_pendingPluginCreationParameters = nullptr;
</ins><span class="cx">     m_waitingOnAsynchronousInitialization = false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -184,7 +184,7 @@
</span><span class="cx"> 
</span><span class="cx">     // Whether synchronously or asynchronously, this plug-in failed to create and we shouldn't need to remember
</span><span class="cx">     // anything about how.
</span><del>-    m_pendingPluginCreationParameters.clear();
</del><ins>+    m_pendingPluginCreationParameters = nullptr;
</ins><span class="cx">     m_waitingOnAsynchronousInitialization = false;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessPluginsPluginProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -35,6 +35,7 @@
</span><span class="cx"> #include &lt;WebCore/FindOptions.h&gt;
</span><span class="cx"> #include &lt;WebCore/IntRect.h&gt;
</span><span class="cx"> #include &lt;WebCore/SecurityOrigin.h&gt;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> 
</span><span class="cx"> #if PLATFORM(COCOA)
</span><span class="cx"> #include &lt;wtf/RetainPtr.h&gt;
</span><span class="lines">@@ -215,7 +216,7 @@
</span><span class="cx">     // The client ID for the CA layer in the plug-in process. Will be 0 if the plug-in is not a CA plug-in.
</span><span class="cx">     uint32_t m_remoteLayerClientID;
</span><span class="cx">     
</span><del>-    OwnPtr&lt;PluginCreationParameters&gt; m_pendingPluginCreationParameters;
</del><ins>+    std::unique_ptr&lt;PluginCreationParameters&gt; m_pendingPluginCreationParameters;
</ins><span class="cx">     bool m_waitingOnAsynchronousInitialization;
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(COCOA)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessPluginsPluginViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -829,7 +829,7 @@
</span><span class="cx">     return m_plugin-&gt;getSelectionString();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-OwnPtr&lt;WebEvent&gt; PluginView::createWebEvent(MouseEvent* event) const
</del><ins>+std::unique_ptr&lt;WebEvent&gt; PluginView::createWebEvent(MouseEvent* event) const
</ins><span class="cx"> {
</span><span class="cx">     WebEvent::Type type = WebEvent::NoType;
</span><span class="cx">     unsigned clickCount = 1;
</span><span class="lines">@@ -871,7 +871,7 @@
</span><span class="cx">     if (event-&gt;metaKey())
</span><span class="cx">         modifiers |= WebEvent::MetaKey;
</span><span class="cx"> 
</span><del>-    return adoptPtr(new WebMouseEvent(type, button, m_plugin-&gt;convertToRootView(IntPoint(event-&gt;offsetX(), event-&gt;offsetY())), event-&gt;screenLocation(), 0, 0, 0, clickCount, static_cast&lt;WebEvent::Modifiers&gt;(modifiers), 0));
</del><ins>+    return std::make_unique&lt;WebMouseEvent&gt;(type, button, m_plugin-&gt;convertToRootView(IntPoint(event-&gt;offsetX(), event-&gt;offsetY())), event-&gt;screenLocation(), 0, 0, 0, clickCount, static_cast&lt;WebEvent::Modifiers&gt;(modifiers), 0);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void PluginView::handleEvent(Event* event)
</span><span class="lines">@@ -880,7 +880,7 @@
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     const WebEvent* currentEvent = WebPage::currentEvent();
</span><del>-    OwnPtr&lt;WebEvent&gt; simulatedWebEvent;
</del><ins>+    std::unique_ptr&lt;WebEvent&gt; simulatedWebEvent;
</ins><span class="cx">     if (event-&gt;isMouseEvent() &amp;&amp; toMouseEvent(event)-&gt;isSimulated()) {
</span><span class="cx">         simulatedWebEvent = createWebEvent(toMouseEvent(event));
</span><span class="cx">         currentEvent = simulatedWebEvent.get();
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessPluginsPluginViewh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Plugins/PluginView.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Plugins/PluginView.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PluginView.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -39,6 +39,7 @@
</span><span class="cx"> #include &lt;WebCore/ResourceResponse.h&gt;
</span><span class="cx"> #include &lt;WebCore/Timer.h&gt;
</span><span class="cx"> #include &lt;WebCore/ViewState.h&gt;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/Deque.h&gt;
</span><span class="cx"> #include &lt;wtf/RunLoop.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -223,7 +224,7 @@
</span><span class="cx">     virtual void didFinishLoad(WebFrame*);
</span><span class="cx">     virtual void didFailLoad(WebFrame*, bool wasCancelled);
</span><span class="cx"> 
</span><del>-    OwnPtr&lt;WebEvent&gt; createWebEvent(WebCore::MouseEvent*) const;
</del><ins>+    std::unique_ptr&lt;WebEvent&gt; createWebEvent(WebCore::MouseEvent*) const;
</ins><span class="cx"> 
</span><span class="cx">     RefPtr&lt;WebCore::HTMLPlugInElement&gt; m_pluginElement;
</span><span class="cx">     RefPtr&lt;Plugin&gt; m_plugin;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportWebPopupMenuh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -25,7 +25,6 @@
</span><span class="cx"> #include &quot;WebPopupItem.h&quot;
</span><span class="cx"> #include &lt;WebCore/PopupMenu.h&gt;
</span><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageEventDispatchercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -53,7 +53,7 @@
</span><span class="cx"> 
</span><span class="cx"> EventDispatcher::EventDispatcher()
</span><span class="cx">     : m_queue(WorkQueue::create(&quot;com.apple.WebKit.EventDispatcher&quot;))
</span><del>-    , m_recentWheelEventDeltaTracker(adoptPtr(new WheelEventDeltaTracker))
</del><ins>+    , m_recentWheelEventDeltaTracker(std::make_unique&lt;WheelEventDeltaTracker&gt;())
</ins><span class="cx"> #if ENABLE(IOS_TOUCH_EVENTS)
</span><span class="cx">     , m_touchEventsLock(SPINLOCK_INITIALIZER)
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageEventDispatcherh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/WebPage/EventDispatcher.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -30,6 +30,7 @@
</span><span class="cx"> 
</span><span class="cx"> #include &lt;WebCore/WheelEventDeltaTracker.h&gt;
</span><span class="cx"> #include &lt;WebEvent.h&gt;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="cx"> #include &lt;wtf/Noncopyable.h&gt;
</span><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="lines">@@ -94,7 +95,7 @@
</span><span class="cx">     Mutex m_scrollingTreesMutex;
</span><span class="cx">     HashMap&lt;uint64_t, RefPtr&lt;WebCore::ThreadedScrollingTree&gt;&gt; m_scrollingTrees;
</span><span class="cx"> #endif
</span><del>-    OwnPtr&lt;WebCore::WheelEventDeltaTracker&gt; m_recentWheelEventDeltaTracker;
</del><ins>+    std::unique_ptr&lt;WebCore::WheelEventDeltaTracker&gt; m_recentWheelEventDeltaTracker;
</ins><span class="cx"> #if ENABLE(IOS_TOUCH_EVENTS)
</span><span class="cx">     SpinLock m_touchEventsLock;
</span><span class="cx">     HashMap&lt;uint64_t, TouchEventQueue&gt; m_touchEvents;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -339,7 +339,7 @@
</span><span class="cx"> 
</span><span class="cx">     pageClients.visitedLinkStore = VisitedLinkTableController::getOrCreate(parameters.visitedLinkTableID);
</span><span class="cx"> 
</span><del>-    m_page = adoptPtr(new Page(pageClients));
</del><ins>+    m_page = std::make_unique&lt;Page&gt;(pageClients);
</ins><span class="cx"> 
</span><span class="cx">     m_drawingArea = DrawingArea::create(this, parameters);
</span><span class="cx">     m_drawingArea-&gt;setPaintingEnabled(false);
</span><span class="lines">@@ -3548,7 +3548,7 @@
</span><span class="cx"> #endif // PLATFORM(MAC)
</span><span class="cx"> 
</span><span class="cx">     if (!m_printContext)
</span><del>-        m_printContext = adoptPtr(new PrintContext(coreFrame));
</del><ins>+        m_printContext = std::make_unique&lt;PrintContext&gt;(coreFrame);
</ins><span class="cx"> 
</span><span class="cx">     drawingArea()-&gt;setLayerTreeStateIsFrozen(true);
</span><span class="cx">     m_printContext-&gt;begin(printInfo.availablePaperWidth, printInfo.availablePaperHeight);
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -59,8 +59,8 @@
</span><span class="cx"> #include &lt;WebCore/ViewState.h&gt;
</span><span class="cx"> #include &lt;WebCore/ViewportConfiguration.h&gt;
</span><span class="cx"> #include &lt;WebCore/WebCoreKeyboardUIMode.h&gt;
</span><ins>+#include &lt;memory&gt;
</ins><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><del>-#include &lt;wtf/OwnPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="lines">@@ -994,7 +994,7 @@
</span><span class="cx"> 
</span><span class="cx">     uint64_t m_pageID;
</span><span class="cx"> 
</span><del>-    OwnPtr&lt;WebCore::Page&gt; m_page;
</del><ins>+    std::unique_ptr&lt;WebCore::Page&gt; m_page;
</ins><span class="cx">     RefPtr&lt;WebFrame&gt; m_mainFrame;
</span><span class="cx">     RefPtr&lt;InjectedBundleBackForwardList&gt; m_backForwardList;
</span><span class="cx"> 
</span><span class="lines">@@ -1125,7 +1125,7 @@
</span><span class="cx">     GeolocationPermissionRequestManager m_geolocationPermissionRequestManager;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    OwnPtr&lt;WebCore::PrintContext&gt; m_printContext;
</del><ins>+    std::unique_ptr&lt;WebCore::PrintContext&gt; m_printContext;
</ins><span class="cx"> #if PLATFORM(GTK)
</span><span class="cx">     RefPtr&lt;WebPrintOperationGtk&gt; m_printOperation;
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebProcessh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebProcess.h (167853 => 167854)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebProcess.h        2014-04-27 11:53:43 UTC (rev 167853)
+++ trunk/Source/WebKit2/WebProcess/WebProcess.h        2014-04-27 13:40:14 UTC (rev 167854)
</span><span class="lines">@@ -99,7 +99,7 @@
</span><span class="cx">     template &lt;typename T&gt;
</span><span class="cx">     void addSupplement()
</span><span class="cx">     {
</span><del>-        m_supplements.add(T::supplementName(), adoptPtr&lt;WebProcessSupplement&gt;(new T(this)));
</del><ins>+        m_supplements.add(T::supplementName(), std::make_unique&lt;T&gt;(this));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     WebConnectionToUIProcess* webConnectionToUIProcess() const { return m_webConnection.get(); }
</span><span class="lines">@@ -302,7 +302,7 @@
</span><span class="cx"> 
</span><span class="cx">     HashMap&lt;uint64_t, WebFrame*&gt; m_frameMap;
</span><span class="cx"> 
</span><del>-    typedef HashMap&lt;const char*, OwnPtr&lt;WebProcessSupplement&gt;, PtrHash&lt;const char*&gt;&gt; WebProcessSupplementMap;
</del><ins>+    typedef HashMap&lt;const char*, std::unique_ptr&lt;WebProcessSupplement&gt;, PtrHash&lt;const char*&gt;&gt; WebProcessSupplementMap;
</ins><span class="cx">     WebProcessSupplementMap m_supplements;
</span><span class="cx"> 
</span><span class="cx">     TextCheckerState m_textCheckerState;
</span></span></pre>
</div>
</div>

</body>
</html>