<!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>[185637] 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/185637">185637</a></dd>
<dt>Author</dt> <dd>gyuyoung.kim@webkit.org</dd>
<dt>Date</dt> <dd>2015-06-16 20:33:26 -0700 (Tue, 16 Jun 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Purge PassRefPtr with Ref or RefPtr
https://bugs.webkit.org/show_bug.cgi?id=146001

Reviewed by Darin Adler.

As step to remove PassRefPtr, this patch reduces use of PassRefPtr in WebKit2.
If function can't return nullptr, PassRefPtr is changed with Ref. If not, the function
returns RefPtr.

* DatabaseProcess/DatabaseToWebProcessConnection.cpp:
(WebKit::DatabaseToWebProcessConnection::create):
* DatabaseProcess/DatabaseToWebProcessConnection.h:
* DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
(WebKit::DatabaseProcessIDBConnection::create):
* DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:
(WebKit::UniqueIDBDatabase::create):
* DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h:
* NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::NetworkConnectionToWebProcess::create):
* NetworkProcess/NetworkConnectionToWebProcess.h:
* NetworkProcess/RemoteNetworkingContext.h:
* PluginProcess/WebProcessConnection.cpp:
(WebKit::WebProcessConnection::create):
* PluginProcess/WebProcessConnection.h:
* Shared/API/APINumber.h:
(API::Number::create):
* Shared/API/APISecurityOrigin.h:
(API::SecurityOrigin::createFromString):
(API::SecurityOrigin::create):
* Shared/API/APISerializedScriptValue.h:
(API::SerializedScriptValue::create):
(API::SerializedScriptValue::adopt):
* Shared/APIWebArchive.h:
* Shared/APIWebArchive.mm:
(API::WebArchive::create):
* Shared/APIWebArchiveResource.h:
* Shared/APIWebArchiveResource.mm:
(API::WebArchiveResource::create):
* Shared/AsyncRequest.h:
* UIProcess/API/efl/ewk_url_request_private.h:
(EwkUrlRequest::create):
* UIProcess/API/efl/ewk_url_response_private.h:
(EwkUrlResponse::create):
* UIProcess/API/efl/ewk_url_scheme_request_private.h:
(EwkUrlSchemeRequest::create):
* UIProcess/API/efl/ewk_window_features_private.h:
(EwkWindowFeatures::create):
* UIProcess/API/efl/tests/test_ewk2_object.cpp:
(TestEwkObject1::create):
(TestEwkObject2::create):
* UIProcess/API/gtk/WebKitBatteryProvider.cpp:
(WebKitBatteryProvider::create):
* UIProcess/API/gtk/WebKitBatteryProvider.h:
* UIProcess/API/gtk/WebKitColorChooser.cpp:
(WebKit::WebKitColorChooser::create):
* UIProcess/API/gtk/WebKitGeolocationProvider.cpp:
(WebKitGeolocationProvider::create):
* UIProcess/API/gtk/WebKitNotificationProvider.cpp:
(WebKitNotificationProvider::create):
* UIProcess/API/gtk/WebKitNotificationProvider.h:
* UIProcess/GeolocationPermissionRequestProxy.h:
(WebKit::GeolocationPermissionRequestProxy::create):
* UIProcess/InspectorServer/HTTPRequest.h:
(WebKit::HTTPRequest::create):
* UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp:
(WebKit::WebSoupCustomProtocolRequestManager::create):
* UIProcess/Network/NetworkProcessProxy.cpp:
(WebKit::NetworkProcessProxy::create):
* UIProcess/Network/NetworkProcessProxy.h:
* UIProcess/Notifications/NotificationPermissionRequest.cpp:
(WebKit::NotificationPermissionRequest::create):
* UIProcess/Notifications/NotificationPermissionRequest.h:
* UIProcess/Notifications/WebNotification.h:
(WebKit::WebNotification::create):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::scriptValueCallback):
* UIProcess/WebVibrationProxy.cpp:
(WebKit::WebVibrationProxy::create):
* UIProcess/WebVibrationProxy.h:
* UIProcess/WebViewportAttributes.h:
(WebKit::WebViewportAttributes::create):
* UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::createNonPersistent):
(WebKit::WebsiteDataStore::create):
* UIProcess/WebsiteData/WebsiteDataStore.h:
* UIProcess/gtk/WebColorPickerGtk.cpp:
(WebKit::WebColorPickerGtk::create):
* UIProcess/gtk/WebColorPickerGtk.h:
* UIProcess/gtk/WebContextMenuProxyGtk.h:
(WebKit::WebContextMenuProxyGtk::create):
* UIProcess/gtk/WebPopupMenuProxyGtk.h:
(WebKit::WebPopupMenuProxyGtk::create):
* UIProcess/mac/ViewSnapshotStore.h:
* UIProcess/mac/ViewSnapshotStore.mm:
(WebKit::ViewSnapshot::create):
* UIProcess/mac/WebColorPickerMac.h:
* UIProcess/mac/WebColorPickerMac.mm:
(WebKit::WebColorPickerMac::create):
* UIProcess/mac/WebContextMenuProxyMac.h:
(WebKit::WebContextMenuProxyMac::create):
* UIProcess/mac/WebPopupMenuProxyMac.h:
(WebKit::WebPopupMenuProxyMac::create):
* WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h:
* WebProcess/Databases/WebToDatabaseProcessConnection.h:
(WebKit::WebToDatabaseProcessConnection::create):
* WebProcess/FullScreen/WebFullScreenManager.cpp:
(WebKit::WebFullScreenManager::create):
* WebProcess/FullScreen/WebFullScreenManager.h:
* WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
(WebKit::InjectedBundleRangeHandle::create):
* WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h:
* WebProcess/InjectedBundle/InjectedBundleBackForwardList.h:
(WebKit::InjectedBundleBackForwardList::create):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessDatabaseToWebProcessConnectioncpp">trunk/Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.cpp</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessDatabaseToWebProcessConnectionh">trunk/Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.h</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessIndexedDBDatabaseProcessIDBConnectionh">trunk/Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessIndexedDBUniqueIDBDatabaseh">trunk/Source/WebKit2/DatabaseProcess/IndexedDB/UniqueIDBDatabase.h</a></li>
<li><a href="#trunkSourceWebKit2DatabaseProcessIndexedDBsqliteUniqueIDBDatabaseBackingStoreSQLiteh">trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessNetworkConnectionToWebProcesscpp">trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessNetworkConnectionToWebProcessh">trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.h</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessRemoteNetworkingContexth">trunk/Source/WebKit2/NetworkProcess/RemoteNetworkingContext.h</a></li>
<li><a href="#trunkSourceWebKit2PluginProcessWebProcessConnectioncpp">trunk/Source/WebKit2/PluginProcess/WebProcessConnection.cpp</a></li>
<li><a href="#trunkSourceWebKit2PluginProcessWebProcessConnectionh">trunk/Source/WebKit2/PluginProcess/WebProcessConnection.h</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIAPINumberh">trunk/Source/WebKit2/Shared/API/APINumber.h</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIAPISecurityOriginh">trunk/Source/WebKit2/Shared/API/APISecurityOrigin.h</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIAPISerializedScriptValueh">trunk/Source/WebKit2/Shared/API/APISerializedScriptValue.h</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIWebArchiveh">trunk/Source/WebKit2/Shared/APIWebArchive.h</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIWebArchivemm">trunk/Source/WebKit2/Shared/APIWebArchive.mm</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIWebArchiveResourceh">trunk/Source/WebKit2/Shared/APIWebArchiveResource.h</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIWebArchiveResourcemm">trunk/Source/WebKit2/Shared/APIWebArchiveResource.mm</a></li>
<li><a href="#trunkSourceWebKit2SharedAsyncRequesth">trunk/Source/WebKit2/Shared/AsyncRequest.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIeflewk_url_request_privateh">trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_request_private.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIeflewk_url_response_privateh">trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_response_private.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIeflewk_url_scheme_request_privateh">trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_scheme_request_private.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIeflewk_window_features_privateh">trunk/Source/WebKit2/UIProcess/API/efl/ewk_window_features_private.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIeflteststest_ewk2_objectcpp">trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_object.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitBatteryProvidercpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitBatteryProvider.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitBatteryProviderh">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitBatteryProvider.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitColorChoosercpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitColorChooser.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitColorChooserh">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitColorChooser.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitGeolocationProvidercpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitGeolocationProvider.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitGeolocationProviderh">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitGeolocationProvider.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitNotificationProvidercpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitNotificationProviderh">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessCoordinatedGraphicsWebViewClientcpp">trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/WebViewClient.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessGeolocationPermissionRequestProxyh">trunk/Source/WebKit2/UIProcess/GeolocationPermissionRequestProxy.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessInspectorServerHTTPRequesth">trunk/Source/WebKit2/UIProcess/InspectorServer/HTTPRequest.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessNetworkCustomProtocolssoupWebSoupCustomProtocolRequestManagercpp">trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessNetworkCustomProtocolssoupWebSoupCustomProtocolRequestManagerh">trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.h</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="#trunkSourceWebKit2UIProcessNotificationsNotificationPermissionRequestcpp">trunk/Source/WebKit2/UIProcess/Notifications/NotificationPermissionRequest.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessNotificationsNotificationPermissionRequesth">trunk/Source/WebKit2/UIProcess/Notifications/NotificationPermissionRequest.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessNotificationsWebNotificationh">trunk/Source/WebKit2/UIProcess/Notifications/WebNotification.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebPageProxycpp">trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebVibrationProxycpp">trunk/Source/WebKit2/UIProcess/WebVibrationProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebVibrationProxyh">trunk/Source/WebKit2/UIProcess/WebVibrationProxy.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebViewportAttributesh">trunk/Source/WebKit2/UIProcess/WebViewportAttributes.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebsiteDataWebsiteDataStorecpp">trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebsiteDataWebsiteDataStoreh">trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessgtkWebColorPickerGtkcpp">trunk/Source/WebKit2/UIProcess/gtk/WebColorPickerGtk.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessgtkWebColorPickerGtkh">trunk/Source/WebKit2/UIProcess/gtk/WebColorPickerGtk.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessgtkWebContextMenuProxyGtkh">trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessgtkWebPopupMenuProxyGtkh">trunk/Source/WebKit2/UIProcess/gtk/WebPopupMenuProxyGtk.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessmacViewSnapshotStoreh">trunk/Source/WebKit2/UIProcess/mac/ViewSnapshotStore.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessmacViewSnapshotStoremm">trunk/Source/WebKit2/UIProcess/mac/ViewSnapshotStore.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessmacWebColorPickerMach">trunk/Source/WebKit2/UIProcess/mac/WebColorPickerMac.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessmacWebColorPickerMacmm">trunk/Source/WebKit2/UIProcess/mac/WebColorPickerMac.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessmacWebContextMenuProxyMach">trunk/Source/WebKit2/UIProcess/mac/WebContextMenuProxyMac.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessmacWebPopupMenuProxyMach">trunk/Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessDatabasesIndexedDBWebIDBFactoryBackendh">trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessDatabasesWebToDatabaseProcessConnectionh">trunk/Source/WebKit2/WebProcess/Databases/WebToDatabaseProcessConnection.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessFullScreenWebFullScreenManagercpp">trunk/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessFullScreenWebFullScreenManagerh">trunk/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleDOMInjectedBundleRangeHandlecpp">trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleDOMInjectedBundleRangeHandleh">trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleInjectedBundleBackForwardListh">trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleBackForwardList.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/ChangeLog        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -1,3 +1,119 @@
</span><ins>+2015-06-16  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
+
+        Purge PassRefPtr with Ref or RefPtr
+        https://bugs.webkit.org/show_bug.cgi?id=146001
+
+        Reviewed by Darin Adler.
+
+        As step to remove PassRefPtr, this patch reduces use of PassRefPtr in WebKit2.
+        If function can't return nullptr, PassRefPtr is changed with Ref. If not, the function
+        returns RefPtr.
+
+        * DatabaseProcess/DatabaseToWebProcessConnection.cpp:
+        (WebKit::DatabaseToWebProcessConnection::create):
+        * DatabaseProcess/DatabaseToWebProcessConnection.h:
+        * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
+        (WebKit::DatabaseProcessIDBConnection::create):
+        * DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:
+        (WebKit::UniqueIDBDatabase::create):
+        * DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h:
+        * NetworkProcess/NetworkConnectionToWebProcess.cpp:
+        (WebKit::NetworkConnectionToWebProcess::create):
+        * NetworkProcess/NetworkConnectionToWebProcess.h:
+        * NetworkProcess/RemoteNetworkingContext.h:
+        * PluginProcess/WebProcessConnection.cpp:
+        (WebKit::WebProcessConnection::create):
+        * PluginProcess/WebProcessConnection.h:
+        * Shared/API/APINumber.h:
+        (API::Number::create):
+        * Shared/API/APISecurityOrigin.h:
+        (API::SecurityOrigin::createFromString):
+        (API::SecurityOrigin::create):
+        * Shared/API/APISerializedScriptValue.h:
+        (API::SerializedScriptValue::create):
+        (API::SerializedScriptValue::adopt):
+        * Shared/APIWebArchive.h:
+        * Shared/APIWebArchive.mm:
+        (API::WebArchive::create):
+        * Shared/APIWebArchiveResource.h:
+        * Shared/APIWebArchiveResource.mm:
+        (API::WebArchiveResource::create):
+        * Shared/AsyncRequest.h:
+        * UIProcess/API/efl/ewk_url_request_private.h:
+        (EwkUrlRequest::create):
+        * UIProcess/API/efl/ewk_url_response_private.h:
+        (EwkUrlResponse::create):
+        * UIProcess/API/efl/ewk_url_scheme_request_private.h:
+        (EwkUrlSchemeRequest::create):
+        * UIProcess/API/efl/ewk_window_features_private.h:
+        (EwkWindowFeatures::create):
+        * UIProcess/API/efl/tests/test_ewk2_object.cpp:
+        (TestEwkObject1::create):
+        (TestEwkObject2::create):
+        * UIProcess/API/gtk/WebKitBatteryProvider.cpp:
+        (WebKitBatteryProvider::create):
+        * UIProcess/API/gtk/WebKitBatteryProvider.h:
+        * UIProcess/API/gtk/WebKitColorChooser.cpp:
+        (WebKit::WebKitColorChooser::create):
+        * UIProcess/API/gtk/WebKitGeolocationProvider.cpp:
+        (WebKitGeolocationProvider::create):
+        * UIProcess/API/gtk/WebKitNotificationProvider.cpp:
+        (WebKitNotificationProvider::create):
+        * UIProcess/API/gtk/WebKitNotificationProvider.h:
+        * UIProcess/GeolocationPermissionRequestProxy.h:
+        (WebKit::GeolocationPermissionRequestProxy::create):
+        * UIProcess/InspectorServer/HTTPRequest.h:
+        (WebKit::HTTPRequest::create):
+        * UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp:
+        (WebKit::WebSoupCustomProtocolRequestManager::create):
+        * UIProcess/Network/NetworkProcessProxy.cpp:
+        (WebKit::NetworkProcessProxy::create):
+        * UIProcess/Network/NetworkProcessProxy.h:
+        * UIProcess/Notifications/NotificationPermissionRequest.cpp:
+        (WebKit::NotificationPermissionRequest::create):
+        * UIProcess/Notifications/NotificationPermissionRequest.h:
+        * UIProcess/Notifications/WebNotification.h:
+        (WebKit::WebNotification::create):
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::scriptValueCallback):
+        * UIProcess/WebVibrationProxy.cpp:
+        (WebKit::WebVibrationProxy::create):
+        * UIProcess/WebVibrationProxy.h:
+        * UIProcess/WebViewportAttributes.h:
+        (WebKit::WebViewportAttributes::create):
+        * UIProcess/WebsiteData/WebsiteDataStore.cpp:
+        (WebKit::WebsiteDataStore::createNonPersistent):
+        (WebKit::WebsiteDataStore::create):
+        * UIProcess/WebsiteData/WebsiteDataStore.h:
+        * UIProcess/gtk/WebColorPickerGtk.cpp:
+        (WebKit::WebColorPickerGtk::create):
+        * UIProcess/gtk/WebColorPickerGtk.h:
+        * UIProcess/gtk/WebContextMenuProxyGtk.h:
+        (WebKit::WebContextMenuProxyGtk::create):
+        * UIProcess/gtk/WebPopupMenuProxyGtk.h:
+        (WebKit::WebPopupMenuProxyGtk::create):
+        * UIProcess/mac/ViewSnapshotStore.h:
+        * UIProcess/mac/ViewSnapshotStore.mm:
+        (WebKit::ViewSnapshot::create):
+        * UIProcess/mac/WebColorPickerMac.h:
+        * UIProcess/mac/WebColorPickerMac.mm:
+        (WebKit::WebColorPickerMac::create):
+        * UIProcess/mac/WebContextMenuProxyMac.h:
+        (WebKit::WebContextMenuProxyMac::create):
+        * UIProcess/mac/WebPopupMenuProxyMac.h:
+        (WebKit::WebPopupMenuProxyMac::create):
+        * WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h:
+        * WebProcess/Databases/WebToDatabaseProcessConnection.h:
+        (WebKit::WebToDatabaseProcessConnection::create):
+        * WebProcess/FullScreen/WebFullScreenManager.cpp:
+        (WebKit::WebFullScreenManager::create):
+        * WebProcess/FullScreen/WebFullScreenManager.h:
+        * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
+        (WebKit::InjectedBundleRangeHandle::create):
+        * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h:
+        * WebProcess/InjectedBundle/InjectedBundleBackForwardList.h:
+        (WebKit::InjectedBundleBackForwardList::create):
+
</ins><span class="cx"> 2015-06-16  Carlos Alberto Lopez Perez  &lt;clopez@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed build fix after r185615.
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessDatabaseToWebProcessConnectioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -35,9 +35,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;DatabaseToWebProcessConnection&gt; DatabaseToWebProcessConnection::create(IPC::Connection::Identifier connectionIdentifier)
</del><ins>+Ref&lt;DatabaseToWebProcessConnection&gt; DatabaseToWebProcessConnection::create(IPC::Connection::Identifier connectionIdentifier)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new DatabaseToWebProcessConnection(connectionIdentifier));
</del><ins>+    return adoptRef(*new DatabaseToWebProcessConnection(connectionIdentifier));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> DatabaseToWebProcessConnection::DatabaseToWebProcessConnection(IPC::Connection::Identifier connectionIdentifier)
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessDatabaseToWebProcessConnectionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/DatabaseProcess/DatabaseToWebProcessConnection.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx"> 
</span><span class="cx"> class DatabaseToWebProcessConnection : public RefCounted&lt;DatabaseToWebProcessConnection&gt;, public IPC::Connection::Client, public IPC::MessageSender {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;DatabaseToWebProcessConnection&gt; create(IPC::Connection::Identifier);
</del><ins>+    static Ref&lt;DatabaseToWebProcessConnection&gt; create(IPC::Connection::Identifier);
</ins><span class="cx">     ~DatabaseToWebProcessConnection();
</span><span class="cx"> 
</span><span class="cx">     IPC::Connection* connection() const { return m_connection.get(); }
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessIndexedDBDatabaseProcessIDBConnectionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -47,9 +47,9 @@
</span><span class="cx"> 
</span><span class="cx"> class DatabaseProcessIDBConnection : public RefCounted&lt;DatabaseProcessIDBConnection&gt;, public IPC::MessageSender {
</span><span class="cx"> public:
</span><del>-    static RefPtr&lt;DatabaseProcessIDBConnection&gt; create(DatabaseToWebProcessConnection&amp; connection, uint64_t serverConnectionIdentifier)
</del><ins>+    static Ref&lt;DatabaseProcessIDBConnection&gt; create(DatabaseToWebProcessConnection&amp; connection, uint64_t serverConnectionIdentifier)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new DatabaseProcessIDBConnection(connection, serverConnectionIdentifier));
</del><ins>+        return adoptRef(*new DatabaseProcessIDBConnection(connection, serverConnectionIdentifier));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     virtual ~DatabaseProcessIDBConnection();
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessIndexedDBUniqueIDBDatabaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/IndexedDB/UniqueIDBDatabase.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/IndexedDB/UniqueIDBDatabase.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/DatabaseProcess/IndexedDB/UniqueIDBDatabase.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -68,9 +68,9 @@
</span><span class="cx"> 
</span><span class="cx"> class UniqueIDBDatabase : public ThreadSafeRefCounted&lt;UniqueIDBDatabase&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;UniqueIDBDatabase&gt; create(const UniqueIDBDatabaseIdentifier&amp; identifier)
</del><ins>+    static Ref&lt;UniqueIDBDatabase&gt; create(const UniqueIDBDatabaseIdentifier&amp; identifier)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new UniqueIDBDatabase(identifier));
</del><ins>+        return adoptRef(*new UniqueIDBDatabase(identifier));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     ~UniqueIDBDatabase();
</span></span></pre></div>
<a id="trunkSourceWebKit2DatabaseProcessIndexedDBsqliteUniqueIDBDatabaseBackingStoreSQLiteh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -51,9 +51,9 @@
</span><span class="cx"> 
</span><span class="cx"> class UniqueIDBDatabaseBackingStoreSQLite final : public UniqueIDBDatabaseBackingStore {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;UniqueIDBDatabaseBackingStore&gt; create(const UniqueIDBDatabaseIdentifier&amp; identifier, const String&amp; databaseDirectory)
</del><ins>+    static Ref&lt;UniqueIDBDatabaseBackingStore&gt; create(const UniqueIDBDatabaseIdentifier&amp; identifier, const String&amp; databaseDirectory)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new UniqueIDBDatabaseBackingStoreSQLite(identifier, databaseDirectory));
</del><ins>+        return adoptRef(*new UniqueIDBDatabaseBackingStoreSQLite(identifier, databaseDirectory));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     virtual ~UniqueIDBDatabaseBackingStoreSQLite();
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessNetworkConnectionToWebProcesscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -47,9 +47,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;NetworkConnectionToWebProcess&gt; NetworkConnectionToWebProcess::create(IPC::Connection::Identifier connectionIdentifier)
</del><ins>+Ref&lt;NetworkConnectionToWebProcess&gt; NetworkConnectionToWebProcess::create(IPC::Connection::Identifier connectionIdentifier)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new NetworkConnectionToWebProcess(connectionIdentifier));
</del><ins>+    return adoptRef(*new NetworkConnectionToWebProcess(connectionIdentifier));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> NetworkConnectionToWebProcess::NetworkConnectionToWebProcess(IPC::Connection::Identifier connectionIdentifier)
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessNetworkConnectionToWebProcessh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/NetworkProcess/NetworkConnectionToWebProcess.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx"> 
</span><span class="cx"> class NetworkConnectionToWebProcess : public RefCounted&lt;NetworkConnectionToWebProcess&gt;, IPC::Connection::Client {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;NetworkConnectionToWebProcess&gt; create(IPC::Connection::Identifier);
</del><ins>+    static Ref&lt;NetworkConnectionToWebProcess&gt; create(IPC::Connection::Identifier);
</ins><span class="cx">     virtual ~NetworkConnectionToWebProcess();
</span><span class="cx"> 
</span><span class="cx">     IPC::Connection* connection() const { return m_connection.get(); }
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessRemoteNetworkingContexth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/RemoteNetworkingContext.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/RemoteNetworkingContext.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/NetworkProcess/RemoteNetworkingContext.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -34,9 +34,9 @@
</span><span class="cx"> 
</span><span class="cx"> class RemoteNetworkingContext final : public WebCore::NetworkingContext {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;RemoteNetworkingContext&gt; create(WebCore::SessionID sessionID, bool shouldClearReferrerOnHTTPSToHTTPRedirect)
</del><ins>+    static Ref&lt;RemoteNetworkingContext&gt; create(WebCore::SessionID sessionID, bool shouldClearReferrerOnHTTPSToHTTPRedirect)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new RemoteNetworkingContext(sessionID, shouldClearReferrerOnHTTPSToHTTPRedirect));
</del><ins>+        return adoptRef(*new RemoteNetworkingContext(sessionID, shouldClearReferrerOnHTTPSToHTTPRedirect));
</ins><span class="cx">     }
</span><span class="cx">     virtual ~RemoteNetworkingContext();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2PluginProcessWebProcessConnectioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/PluginProcess/WebProcessConnection.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/PluginProcess/WebProcessConnection.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/PluginProcess/WebProcessConnection.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -46,9 +46,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebProcessConnection&gt; WebProcessConnection::create(IPC::Connection::Identifier connectionIdentifier)
</del><ins>+RefPtr&lt;WebProcessConnection&gt; WebProcessConnection::create(IPC::Connection::Identifier connectionIdentifier)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebProcessConnection(connectionIdentifier));
</del><ins>+    return adoptRef(*new WebProcessConnection(connectionIdentifier));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebProcessConnection::~WebProcessConnection()
</span></span></pre></div>
<a id="trunkSourceWebKit2PluginProcessWebProcessConnectionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/PluginProcess/WebProcessConnection.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/PluginProcess/WebProcessConnection.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/PluginProcess/WebProcessConnection.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebProcessConnection : public RefCounted&lt;WebProcessConnection&gt;, IPC::Connection::Client {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebProcessConnection&gt; create(IPC::Connection::Identifier);
</del><ins>+    static RefPtr&lt;WebProcessConnection&gt; create(IPC::Connection::Identifier);
</ins><span class="cx">     virtual ~WebProcessConnection();
</span><span class="cx"> 
</span><span class="cx">     IPC::Connection* connection() const { return m_connection.get(); }
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIAPINumberh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/APINumber.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/APINumber.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/Shared/API/APINumber.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -36,9 +36,9 @@
</span><span class="cx"> template&lt;typename NumberType, API::Object::Type APIObjectType&gt;
</span><span class="cx"> class Number : public ObjectImpl&lt;APIObjectType&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;Number&gt; create(NumberType value)
</del><ins>+    static Ref&lt;Number&gt; create(NumberType value)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new Number(value));
</del><ins>+        return adoptRef(*new Number(value));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     NumberType value() const { return m_value; }
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIAPISecurityOriginh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/APISecurityOrigin.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/APISecurityOrigin.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/Shared/API/APISecurityOrigin.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -34,20 +34,20 @@
</span><span class="cx"> 
</span><span class="cx"> class SecurityOrigin : public API::ObjectImpl&lt;API::Object::Type::SecurityOrigin&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;SecurityOrigin&gt; createFromString(const WTF::String&amp; string)
</del><ins>+    static RefPtr&lt;SecurityOrigin&gt; createFromString(const WTF::String&amp; string)
</ins><span class="cx">     {
</span><span class="cx">         return create(WebCore::SecurityOrigin::createFromString(string));
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;SecurityOrigin&gt; create(const WTF::String&amp; protocol, const WTF::String&amp; host, int port)
</del><ins>+    static RefPtr&lt;SecurityOrigin&gt; create(const WTF::String&amp; protocol, const WTF::String&amp; host, int port)
</ins><span class="cx">     {
</span><span class="cx">         return create(WebCore::SecurityOrigin::create(protocol, host, port));
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;SecurityOrigin&gt; create(PassRefPtr&lt;WebCore::SecurityOrigin&gt; securityOrigin)
</del><ins>+    static RefPtr&lt;SecurityOrigin&gt; create(PassRefPtr&lt;WebCore::SecurityOrigin&gt; securityOrigin)
</ins><span class="cx">     {
</span><span class="cx">         if (!securityOrigin)
</span><del>-            return 0;
</del><ins>+            return nullptr;
</ins><span class="cx">         return adoptRef(new SecurityOrigin(securityOrigin));
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIAPISerializedScriptValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/APISerializedScriptValue.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/APISerializedScriptValue.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/Shared/API/APISerializedScriptValue.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -36,22 +36,22 @@
</span><span class="cx"> 
</span><span class="cx"> class SerializedScriptValue : public API::ObjectImpl&lt;API::Object::Type::SerializedScriptValue&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;SerializedScriptValue&gt; create(PassRefPtr&lt;WebCore::SerializedScriptValue&gt; serializedValue)
</del><ins>+    static Ref&lt;SerializedScriptValue&gt; create(PassRefPtr&lt;WebCore::SerializedScriptValue&gt; serializedValue)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new SerializedScriptValue(serializedValue));
</del><ins>+        return adoptRef(*new SerializedScriptValue(serializedValue));
</ins><span class="cx">     }
</span><span class="cx">     
</span><del>-    static PassRefPtr&lt;SerializedScriptValue&gt; create(JSContextRef context, JSValueRef value, JSValueRef* exception)
</del><ins>+    static RefPtr&lt;SerializedScriptValue&gt; create(JSContextRef context, JSValueRef value, JSValueRef* exception)
</ins><span class="cx">     {
</span><span class="cx">         RefPtr&lt;WebCore::SerializedScriptValue&gt; serializedValue = WebCore::SerializedScriptValue::create(context, value, exception);
</span><span class="cx">         if (!serializedValue)
</span><del>-            return 0;
-        return adoptRef(new SerializedScriptValue(serializedValue.get()));
</del><ins>+            return nullptr;
+        return adoptRef(*new SerializedScriptValue(serializedValue.get()));
</ins><span class="cx">     }
</span><span class="cx">     
</span><del>-    static PassRefPtr&lt;SerializedScriptValue&gt; adopt(Vector&lt;uint8_t&gt;&amp; buffer)
</del><ins>+    static Ref&lt;SerializedScriptValue&gt; adopt(Vector&lt;uint8_t&gt;&amp; buffer)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new SerializedScriptValue(WebCore::SerializedScriptValue::adopt(buffer)));
</del><ins>+        return adoptRef(*new SerializedScriptValue(WebCore::SerializedScriptValue::adopt(buffer)));
</ins><span class="cx">     }
</span><span class="cx">     
</span><span class="cx">     JSValueRef deserialize(JSContextRef context, JSValueRef* exception)
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIWebArchiveh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/APIWebArchive.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/APIWebArchive.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/Shared/APIWebArchive.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -50,10 +50,10 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebArchive();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebArchive&gt; create(WebArchiveResource* mainResource, PassRefPtr&lt;API::Array&gt; subresources, PassRefPtr&lt;API::Array&gt; subframeArchives);
-    static PassRefPtr&lt;WebArchive&gt; create(API::Data*);
-    static PassRefPtr&lt;WebArchive&gt; create(PassRefPtr&lt;WebCore::LegacyWebArchive&gt;);
-    static PassRefPtr&lt;WebArchive&gt; create(WebCore::Range*);
</del><ins>+    static Ref&lt;WebArchive&gt; create(WebArchiveResource* mainResource, PassRefPtr&lt;API::Array&gt; subresources, PassRefPtr&lt;API::Array&gt; subframeArchives);
+    static Ref&lt;WebArchive&gt; create(API::Data*);
+    static Ref&lt;WebArchive&gt; create(PassRefPtr&lt;WebCore::LegacyWebArchive&gt;);
+    static Ref&lt;WebArchive&gt; create(WebCore::Range*);
</ins><span class="cx"> 
</span><span class="cx">     WebArchiveResource* mainResource();
</span><span class="cx">     API::Array* subresources();
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIWebArchivemm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/APIWebArchive.mm (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/APIWebArchive.mm        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/Shared/APIWebArchive.mm        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -38,24 +38,24 @@
</span><span class="cx"> 
</span><span class="cx"> namespace API {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebArchive&gt; WebArchive::create(WebArchiveResource* mainResource, PassRefPtr&lt;API::Array&gt; subresources, PassRefPtr&lt;API::Array&gt; subframeArchives)
</del><ins>+Ref&lt;WebArchive&gt; WebArchive::create(WebArchiveResource* mainResource, PassRefPtr&lt;API::Array&gt; subresources, PassRefPtr&lt;API::Array&gt; subframeArchives)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebArchive(mainResource, subresources, subframeArchives));
</del><ins>+    return adoptRef(*new WebArchive(mainResource, subresources, subframeArchives));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebArchive&gt; WebArchive::create(API::Data* data)
</del><ins>+Ref&lt;WebArchive&gt; WebArchive::create(API::Data* data)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebArchive(data));
</del><ins>+    return adoptRef(*new WebArchive(data));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebArchive&gt; WebArchive::create(PassRefPtr&lt;LegacyWebArchive&gt; legacyWebArchive)
</del><ins>+Ref&lt;WebArchive&gt; WebArchive::create(PassRefPtr&lt;LegacyWebArchive&gt; legacyWebArchive)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebArchive(legacyWebArchive));
</del><ins>+    return adoptRef(*new WebArchive(legacyWebArchive));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebArchive&gt; WebArchive::create(Range* range)
</del><ins>+Ref&lt;WebArchive&gt; WebArchive::create(Range* range)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebArchive(LegacyWebArchive::create(range)));
</del><ins>+    return adoptRef(*new WebArchive(LegacyWebArchive::create(range)));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebArchive::WebArchive(WebArchiveResource* mainResource, PassRefPtr&lt;API::Array&gt; subresources, PassRefPtr&lt;API::Array&gt; subframeArchives)
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIWebArchiveResourceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/APIWebArchiveResource.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/APIWebArchiveResource.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/Shared/APIWebArchiveResource.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -48,8 +48,8 @@
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebArchiveResource();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebArchiveResource&gt; create(API::Data*, const String&amp; URL, const String&amp; MIMEType, const String&amp; textEncoding);
-    static PassRefPtr&lt;WebArchiveResource&gt; create(PassRefPtr&lt;WebCore::ArchiveResource&gt;);
</del><ins>+    static Ref&lt;WebArchiveResource&gt; create(API::Data*, const String&amp; URL, const String&amp; MIMEType, const String&amp; textEncoding);
+    static Ref&lt;WebArchiveResource&gt; create(PassRefPtr&lt;WebCore::ArchiveResource&gt;);
</ins><span class="cx"> 
</span><span class="cx">     Ref&lt;API::Data&gt; data();
</span><span class="cx">     String URL();
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIWebArchiveResourcemm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/APIWebArchiveResource.mm (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/APIWebArchiveResource.mm        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/Shared/APIWebArchiveResource.mm        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -37,14 +37,14 @@
</span><span class="cx"> 
</span><span class="cx"> namespace API {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebArchiveResource&gt; WebArchiveResource::create(API::Data* data, const String&amp; URL, const String&amp; MIMEType, const String&amp; textEncoding)
</del><ins>+Ref&lt;WebArchiveResource&gt; WebArchiveResource::create(API::Data* data, const String&amp; URL, const String&amp; MIMEType, const String&amp; textEncoding)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebArchiveResource(data, URL, MIMEType, textEncoding));
</del><ins>+    return adoptRef(*new WebArchiveResource(data, URL, MIMEType, textEncoding));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebArchiveResource&gt; WebArchiveResource::create(PassRefPtr&lt;ArchiveResource&gt; archiveResource)
</del><ins>+Ref&lt;WebArchiveResource&gt; WebArchiveResource::create(PassRefPtr&lt;ArchiveResource&gt; archiveResource)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebArchiveResource(archiveResource));
</del><ins>+    return adoptRef(*new WebArchiveResource(archiveResource));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebArchiveResource::WebArchiveResource(API::Data* data, const String&amp; URL, const String&amp; MIMEType, const String&amp; textEncoding)
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAsyncRequesth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/AsyncRequest.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/AsyncRequest.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/Shared/AsyncRequest.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -60,14 +60,14 @@
</span><span class="cx"> public:
</span><span class="cx">     template&lt;typename T&gt; using ArgumentType = typename std::conditional&lt;std::is_integral&lt;T&gt;::value, T, const T&amp;&gt;::type;
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;AsyncRequest&gt; create(std::function&lt;void (ArgumentType&lt;Arguments&gt;...)&gt; completionHandler)
</del><ins>+    static Ref&lt;AsyncRequest&gt; create(std::function&lt;void(ArgumentType&lt;Arguments&gt;...)&gt; completionHandler)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new AsyncRequestImpl&lt;Arguments...&gt;(WTF::move(completionHandler), nullptr));
</del><ins>+        return adoptRef(*new AsyncRequestImpl&lt;Arguments...&gt;(WTF::move(completionHandler), nullptr));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;AsyncRequest&gt; create(std::function&lt;void (ArgumentType&lt;Arguments&gt;...)&gt; completionHandler, std::function&lt;void ()&gt; abortHandler)
</del><ins>+    static Ref&lt;AsyncRequest&gt; create(std::function&lt;void(ArgumentType&lt;Arguments&gt;...)&gt; completionHandler, std::function&lt;void()&gt; abortHandler)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new AsyncRequestImpl&lt;Arguments...&gt;(WTF::move(completionHandler), WTF::move(abortHandler)));
</del><ins>+        return adoptRef(*new AsyncRequestImpl&lt;Arguments...&gt;(WTF::move(completionHandler), WTF::move(abortHandler)));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     virtual ~AsyncRequestImpl()
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIeflewk_url_request_privateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_request_private.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_request_private.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_request_private.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -40,9 +40,9 @@
</span><span class="cx"> public:
</span><span class="cx">     EWK_OBJECT_DECLARE(EwkUrlRequest)
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;EwkUrlRequest&gt; create(WKURLRequestRef requestRef)
</del><ins>+    static Ref&lt;EwkUrlRequest&gt; create(WKURLRequestRef requestRef)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new EwkUrlRequest(requestRef));
</del><ins>+        return adoptRef(*new EwkUrlRequest(requestRef));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     const char* url() const;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIeflewk_url_response_privateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_response_private.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_response_private.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_response_private.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -40,10 +40,10 @@
</span><span class="cx"> public:
</span><span class="cx">     EWK_OBJECT_DECLARE(EwkUrlResponse)
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;EwkUrlResponse&gt; create(WKURLResponseRef wkResponse)
</del><ins>+    static RefPtr&lt;EwkUrlResponse&gt; create(WKURLResponseRef wkResponse)
</ins><span class="cx">     {
</span><span class="cx">         if (!wkResponse)
</span><del>-            return 0;
</del><ins>+            return nullptr;
</ins><span class="cx"> 
</span><span class="cx">         return adoptRef(new EwkUrlResponse(wkResponse));
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIeflewk_url_scheme_request_privateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_scheme_request_private.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_scheme_request_private.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_scheme_request_private.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -41,10 +41,10 @@
</span><span class="cx"> public:
</span><span class="cx">     EWK_OBJECT_DECLARE(EwkUrlSchemeRequest)
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;EwkUrlSchemeRequest&gt; create(WKSoupCustomProtocolRequestManagerRef manager, API::URLRequest* urlRequest, uint64_t requestID)
</del><ins>+    static RefPtr&lt;EwkUrlSchemeRequest&gt; create(WKSoupCustomProtocolRequestManagerRef manager, API::URLRequest* urlRequest, uint64_t requestID)
</ins><span class="cx">     {
</span><span class="cx">         if (!manager || !urlRequest)
</span><del>-            return 0;
</del><ins>+            return nullptr;
</ins><span class="cx"> 
</span><span class="cx">         return adoptRef(new EwkUrlSchemeRequest(manager, urlRequest, requestID));
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIeflewk_window_features_privateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/efl/ewk_window_features_private.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/efl/ewk_window_features_private.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/efl/ewk_window_features_private.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -37,9 +37,9 @@
</span><span class="cx"> public:
</span><span class="cx">     EWK_OBJECT_DECLARE(EwkWindowFeatures)
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;EwkWindowFeatures&gt; create(WKDictionaryRef windowFeatures, EwkView* viewImpl)
</del><ins>+    static Ref&lt;EwkWindowFeatures&gt; create(WKDictionaryRef windowFeatures, EwkView* viewImpl)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new EwkWindowFeatures(windowFeatures, viewImpl));
</del><ins>+        return adoptRef(*new EwkWindowFeatures(windowFeatures, viewImpl));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     const Evas_Coord_Rectangle&amp; geometry() const { return m_geometry; }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIeflteststest_ewk2_objectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_object.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_object.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_object.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> #include &quot;UnitTestUtils/EWK2UnitTestServer.h&quot;
</span><span class="cx"> #include &quot;WKEinaSharedString.h&quot;
</span><span class="cx"> #include &quot;ewk_object_private.h&quot;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> 
</span><span class="cx"> using namespace EWK2UnitTest;
</span><span class="cx"> using namespace WTF;
</span><span class="lines">@@ -40,10 +39,10 @@
</span><span class="cx"> public:
</span><span class="cx">     EWK_OBJECT_DECLARE(TestEwkObject)
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;TestEwkObject1&gt; create()
</del><ins>+    static Ref&lt;TestEwkObject1&gt; create()
</ins><span class="cx">     {
</span><span class="cx">         wasDeleted = false;
</span><del>-        return adoptRef(new TestEwkObject1());
</del><ins>+        return adoptRef(*new TestEwkObject1());
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static bool wasDeleted; // We always test only one instance of TestEwkObject.
</span><span class="lines">@@ -60,9 +59,9 @@
</span><span class="cx"> public:
</span><span class="cx">     EWK_OBJECT_DECLARE(TestEwkObject2)
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;TestEwkObject2&gt; create()
</del><ins>+    static Ref&lt;TestEwkObject2&gt; create()
</ins><span class="cx">     {
</span><del>-        return adoptRef(new TestEwkObject2());
</del><ins>+        return adoptRef(*new TestEwkObject2());
</ins><span class="cx">     }
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitBatteryProvidercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitBatteryProvider.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitBatteryProvider.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitBatteryProvider.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -43,9 +43,9 @@
</span><span class="cx">     toBatteryProvider(clientInfo)-&gt;stopUpdating();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebKitBatteryProvider&gt; WebKitBatteryProvider::create(WebBatteryManagerProxy* batteryManager)
</del><ins>+Ref&lt;WebKitBatteryProvider&gt; WebKitBatteryProvider::create(WebBatteryManagerProxy* batteryManager)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebKitBatteryProvider(batteryManager));
</del><ins>+    return adoptRef(*new WebKitBatteryProvider(batteryManager));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebKitBatteryProvider::WebKitBatteryProvider(WebBatteryManagerProxy* batteryManager)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitBatteryProviderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitBatteryProvider.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitBatteryProvider.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitBatteryProvider.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebKitBatteryProvider : public RefCounted&lt;WebKitBatteryProvider&gt;, public WebCore::BatteryProviderUPowerClient {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebKitBatteryProvider&gt; create(WebBatteryManagerProxy*);
</del><ins>+    static Ref&lt;WebKitBatteryProvider&gt; create(WebBatteryManagerProxy*);
</ins><span class="cx">     virtual ~WebKitBatteryProvider();
</span><span class="cx"> 
</span><span class="cx">     void startUpdating();
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitColorChoosercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitColorChooser.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitColorChooser.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitColorChooser.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -29,9 +29,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebKitColorChooser&gt; WebKitColorChooser::create(WebPageProxy&amp; page, const WebCore::Color&amp; initialColor, const WebCore::IntRect&amp; rect)
</del><ins>+Ref&lt;WebKitColorChooser&gt; WebKitColorChooser::create(WebPageProxy&amp; page, const WebCore::Color&amp; initialColor, const WebCore::IntRect&amp; rect)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebKitColorChooser(page, initialColor, rect));
</del><ins>+    return adoptRef(*new WebKitColorChooser(page, initialColor, rect));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebKitColorChooser::WebKitColorChooser(WebPageProxy&amp; page, const Color&amp; initialColor, const IntRect&amp; rect)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitColorChooserh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitColorChooser.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitColorChooser.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitColorChooser.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebKitColorChooser final : public WebColorPickerGtk {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebKitColorChooser&gt; create(WebPageProxy&amp;, const WebCore::Color&amp;, const WebCore::IntRect&amp;);
</del><ins>+    static Ref&lt;WebKitColorChooser&gt; create(WebPageProxy&amp;, const WebCore::Color&amp;, const WebCore::IntRect&amp;);
</ins><span class="cx">     virtual ~WebKitColorChooser();
</span><span class="cx"> 
</span><span class="cx">     const WebCore::IntRect&amp; elementRect() const { return m_elementRect; }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitGeolocationProvidercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitGeolocationProvider.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitGeolocationProvider.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitGeolocationProvider.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -54,9 +54,9 @@
</span><span class="cx">     WKGeolocationManagerSetProvider(toAPI(m_geolocationManager.get()), nullptr);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebKitGeolocationProvider&gt; WebKitGeolocationProvider::create(WebGeolocationManagerProxy* geolocationManager)
</del><ins>+Ref&lt;WebKitGeolocationProvider&gt; WebKitGeolocationProvider::create(WebGeolocationManagerProxy* geolocationManager)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebKitGeolocationProvider(geolocationManager));
</del><ins>+    return adoptRef(*new WebKitGeolocationProvider(geolocationManager));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebKitGeolocationProvider::WebKitGeolocationProvider(WebGeolocationManagerProxy* geolocationManager)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitGeolocationProviderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitGeolocationProvider.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitGeolocationProvider.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitGeolocationProvider.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx"> class WebKitGeolocationProvider : public RefCounted&lt;WebKitGeolocationProvider&gt;, public WebCore::GeolocationProviderGeoclueClient {
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebKitGeolocationProvider();
</span><del>-    static PassRefPtr&lt;WebKitGeolocationProvider&gt; create(WebGeolocationManagerProxy*);
</del><ins>+    static Ref&lt;WebKitGeolocationProvider&gt; create(WebGeolocationManagerProxy*);
</ins><span class="cx"> 
</span><span class="cx">     void startUpdating();
</span><span class="cx">     void stopUpdating();
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitNotificationProvidercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -61,9 +61,9 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebKitNotificationProvider&gt; WebKitNotificationProvider::create(WebNotificationManagerProxy* notificationManager)
</del><ins>+Ref&lt;WebKitNotificationProvider&gt; WebKitNotificationProvider::create(WebNotificationManagerProxy* notificationManager)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebKitNotificationProvider(notificationManager));
</del><ins>+    return adoptRef(*new WebKitNotificationProvider(notificationManager));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebKitNotificationProvider::WebKitNotificationProvider(WebNotificationManagerProxy* notificationManager)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitNotificationProviderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> class WebKitNotificationProvider : public RefCounted&lt;WebKitNotificationProvider&gt; {
</span><span class="cx"> public:
</span><span class="cx">     virtual ~WebKitNotificationProvider();
</span><del>-    static PassRefPtr&lt;WebKitNotificationProvider&gt; create(WebNotificationManagerProxy*);
</del><ins>+    static Ref&lt;WebKitNotificationProvider&gt; create(WebNotificationManagerProxy*);
</ins><span class="cx"> 
</span><span class="cx">     void show(WebPageProxy*, const WebNotification&amp;);
</span><span class="cx">     void cancel(const WebNotification&amp;);
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessCoordinatedGraphicsWebViewClientcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/WebViewClient.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/WebViewClient.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/WebViewClient.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -105,7 +105,7 @@
</span><span class="cx">     if (!m_client.didChangeViewportAttributes)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    WKRetainPtr&lt;WKViewportAttributesRef&gt; wkAttributes = adoptWK(toAPI(WebViewportAttributes::create(attributes).leakRef()));
</del><ins>+    WKRetainPtr&lt;WKViewportAttributesRef&gt; wkAttributes = adoptWK(toAPI(&amp;WebViewportAttributes::create(attributes).leakRef()));
</ins><span class="cx">     m_client.didChangeViewportAttributes(toAPI(view), wkAttributes.get(), m_client.base.clientInfo);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessGeolocationPermissionRequestProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/GeolocationPermissionRequestProxy.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/GeolocationPermissionRequestProxy.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/GeolocationPermissionRequestProxy.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -35,9 +35,9 @@
</span><span class="cx"> 
</span><span class="cx"> class GeolocationPermissionRequestProxy : public API::ObjectImpl&lt;API::Object::Type::GeolocationPermissionRequest&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;GeolocationPermissionRequestProxy&gt; create(GeolocationPermissionRequestManagerProxy* manager, uint64_t geolocationID)
</del><ins>+    static Ref&lt;GeolocationPermissionRequestProxy&gt; create(GeolocationPermissionRequestManagerProxy* manager, uint64_t geolocationID)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new GeolocationPermissionRequestProxy(manager, geolocationID));
</del><ins>+        return adoptRef(*new GeolocationPermissionRequestProxy(manager, geolocationID));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     void allow();
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessInspectorServerHTTPRequesth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/InspectorServer/HTTPRequest.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/InspectorServer/HTTPRequest.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/InspectorServer/HTTPRequest.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -43,8 +43,8 @@
</span><span class="cx"> 
</span><span class="cx"> class HTTPRequest : public RefCounted&lt;HTTPRequest&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;HTTPRequest&gt; create() { return adoptRef(new HTTPRequest()); }
-    static PassRefPtr&lt;HTTPRequest&gt; create(const String&amp; requestMethod, const WebCore::URL&amp; url, WebCore::HTTPVersion version) { return adoptRef(new HTTPRequest(requestMethod, url, version)); }
</del><ins>+    static Ref&lt;HTTPRequest&gt; create() { return adoptRef(*new HTTPRequest()); }
+    static Ref&lt;HTTPRequest&gt; create(const String&amp; requestMethod, const WebCore::URL&amp; url, WebCore::HTTPVersion version) { return adoptRef(*new HTTPRequest(requestMethod, url, version)); }
</ins><span class="cx">     static PassRefPtr&lt;HTTPRequest&gt; parseHTTPRequestFromBuffer(const char* data, size_t length, String&amp; failureReason);
</span><span class="cx">     virtual ~HTTPRequest();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNetworkCustomProtocolssoupWebSoupCustomProtocolRequestManagercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -40,9 +40,9 @@
</span><span class="cx">     return &quot;WebSoupCustomProtocolRequestManager&quot;;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebSoupCustomProtocolRequestManager&gt; WebSoupCustomProtocolRequestManager::create(WebProcessPool* processPool)
</del><ins>+Ref&lt;WebSoupCustomProtocolRequestManager&gt; WebSoupCustomProtocolRequestManager::create(WebProcessPool* processPool)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebSoupCustomProtocolRequestManager(processPool));
</del><ins>+    return adoptRef(*new WebSoupCustomProtocolRequestManager(processPool));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebSoupCustomProtocolRequestManager::WebSoupCustomProtocolRequestManager(WebProcessPool* processPool)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNetworkCustomProtocolssoupWebSoupCustomProtocolRequestManagerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/WebSoupCustomProtocolRequestManager.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> public:
</span><span class="cx">     static const char* supplementName();
</span><span class="cx"> 
</span><del>-    static PassRefPtr&lt;WebSoupCustomProtocolRequestManager&gt; create(WebProcessPool*);
</del><ins>+    static Ref&lt;WebSoupCustomProtocolRequestManager&gt; create(WebProcessPool*);
</ins><span class="cx">     virtual ~WebSoupCustomProtocolRequestManager();
</span><span class="cx"> 
</span><span class="cx">     void initializeClient(const WKSoupCustomProtocolRequestManagerClientBase*);
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNetworkNetworkProcessProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -59,9 +59,9 @@
</span><span class="cx">     return ++callbackID;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;NetworkProcessProxy&gt; NetworkProcessProxy::create(WebProcessPool&amp; processPool)
</del><ins>+Ref&lt;NetworkProcessProxy&gt; NetworkProcessProxy::create(WebProcessPool&amp; processPool)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new NetworkProcessProxy(processPool));
</del><ins>+    return adoptRef(*new NetworkProcessProxy(processPool));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> NetworkProcessProxy::NetworkProcessProxy(WebProcessPool&amp; processPool)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNetworkNetworkProcessProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/Network/NetworkProcessProxy.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -54,7 +54,7 @@
</span><span class="cx"> 
</span><span class="cx"> class NetworkProcessProxy : public ChildProcessProxy, private ProcessThrottlerClient {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;NetworkProcessProxy&gt; create(WebProcessPool&amp;);
</del><ins>+    static Ref&lt;NetworkProcessProxy&gt; create(WebProcessPool&amp;);
</ins><span class="cx">     ~NetworkProcessProxy();
</span><span class="cx"> 
</span><span class="cx">     void getNetworkProcessConnection(PassRefPtr&lt;Messages::WebProcessProxy::GetNetworkProcessConnection::DelayedReply&gt;);
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNotificationsNotificationPermissionRequestcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Notifications/NotificationPermissionRequest.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Notifications/NotificationPermissionRequest.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/Notifications/NotificationPermissionRequest.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -30,9 +30,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span><span class="cx">     
</span><del>-PassRefPtr&lt;NotificationPermissionRequest&gt; NotificationPermissionRequest::create(WebKit::NotificationPermissionRequestManagerProxy *manager, uint64_t notificationID)
</del><ins>+Ref&lt;NotificationPermissionRequest&gt; NotificationPermissionRequest::create(WebKit::NotificationPermissionRequestManagerProxy *manager, uint64_t notificationID)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new NotificationPermissionRequest(manager, notificationID));
</del><ins>+    return adoptRef(*new NotificationPermissionRequest(manager, notificationID));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> NotificationPermissionRequest::NotificationPermissionRequest(NotificationPermissionRequestManagerProxy* manager, uint64_t notificationID)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNotificationsNotificationPermissionRequesth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Notifications/NotificationPermissionRequest.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Notifications/NotificationPermissionRequest.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/Notifications/NotificationPermissionRequest.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> 
</span><span class="cx"> class NotificationPermissionRequest : public API::ObjectImpl&lt;API::Object::Type::NotificationPermissionRequest&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;NotificationPermissionRequest&gt; create(NotificationPermissionRequestManagerProxy*, uint64_t notificationID);
</del><ins>+    static Ref&lt;NotificationPermissionRequest&gt; create(NotificationPermissionRequestManagerProxy*, uint64_t notificationID);
</ins><span class="cx"> 
</span><span class="cx">     void allow();
</span><span class="cx">     void deny();
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNotificationsWebNotificationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Notifications/WebNotification.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Notifications/WebNotification.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/Notifications/WebNotification.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -43,9 +43,9 @@
</span><span class="cx"> 
</span><span class="cx"> class WebNotification : public API::ObjectImpl&lt;API::Object::Type::Notification&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebNotification&gt; create(const String&amp; title, const String&amp; body, const String&amp; iconURL, const String&amp; tag, const String&amp; lang, const String&amp; dir, const String&amp; originString, uint64_t notificationID)
</del><ins>+    static Ref&lt;WebNotification&gt; create(const String&amp; title, const String&amp; body, const String&amp; iconURL, const String&amp; tag, const String&amp; lang, const String&amp; dir, const String&amp; originString, uint64_t notificationID)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new WebNotification(title, body, iconURL, tag, lang, dir, originString, notificationID));
</del><ins>+        return adoptRef(*new WebNotification(title, body, iconURL, tag, lang, dir, originString, notificationID));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     const String&amp; title() const { return m_title; }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebPageProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -4656,7 +4656,7 @@
</span><span class="cx">     data.reserveInitialCapacity(dataReference.size());
</span><span class="cx">     data.append(dataReference.data(), dataReference.size());
</span><span class="cx"> 
</span><del>-    callback-&gt;performCallbackWithReturnValue(data.size() ? API::SerializedScriptValue::adopt(data).get() : 0, hadException);
</del><ins>+    callback-&gt;performCallbackWithReturnValue(data.size() ? API::SerializedScriptValue::adopt(data).ptr() : nullptr, hadException);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebPageProxy::computedPagesCallback(const Vector&lt;IntRect&gt;&amp; pageRects, double totalScaleFactorForPrinting, uint64_t callbackID)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebVibrationProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebVibrationProxy.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebVibrationProxy.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/WebVibrationProxy.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -35,9 +35,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebVibrationProxy&gt; WebVibrationProxy::create(WebPageProxy* page)
</del><ins>+Ref&lt;WebVibrationProxy&gt; WebVibrationProxy::create(WebPageProxy* page)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebVibrationProxy(page));
</del><ins>+    return adoptRef(*new WebVibrationProxy(page));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebVibrationProxy::WebVibrationProxy(WebPageProxy* page)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebVibrationProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebVibrationProxy.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebVibrationProxy.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/WebVibrationProxy.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebVibrationProxy : public API::ObjectImpl&lt;API::Object::Type::Vibration&gt;, private IPC::MessageReceiver {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebVibrationProxy&gt; create(WebPageProxy*);
</del><ins>+    static Ref&lt;WebVibrationProxy&gt; create(WebPageProxy*);
</ins><span class="cx">     virtual ~WebVibrationProxy();
</span><span class="cx"> 
</span><span class="cx">     void invalidate();
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebViewportAttributesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebViewportAttributes.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebViewportAttributes.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/WebViewportAttributes.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -34,9 +34,9 @@
</span><span class="cx"> 
</span><span class="cx"> class WebViewportAttributes : public API::ObjectImpl&lt;API::Object::Type::ViewportAttributes&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebViewportAttributes&gt; create(const WebCore::ViewportAttributes&amp; attributes)
</del><ins>+    static Ref&lt;WebViewportAttributes&gt; create(const WebCore::ViewportAttributes&amp; attributes)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new WebViewportAttributes(attributes));
</del><ins>+        return adoptRef(*new WebViewportAttributes(attributes));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     virtual ~WebViewportAttributes();
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebsiteDataWebsiteDataStorecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -58,14 +58,14 @@
</span><span class="cx">     return ++identifier;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RefPtr&lt;WebsiteDataStore&gt; WebsiteDataStore::createNonPersistent()
</del><ins>+Ref&lt;WebsiteDataStore&gt; WebsiteDataStore::createNonPersistent()
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebsiteDataStore(generateNonPersistentSessionID()));
</del><ins>+    return adoptRef(*new WebsiteDataStore(generateNonPersistentSessionID()));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-RefPtr&lt;WebsiteDataStore&gt; WebsiteDataStore::create(Configuration configuration)
</del><ins>+Ref&lt;WebsiteDataStore&gt; WebsiteDataStore::create(Configuration configuration)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebsiteDataStore(WTF::move(configuration)));
</del><ins>+    return adoptRef(*new WebsiteDataStore(WTF::move(configuration)));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebsiteDataStore::WebsiteDataStore(Configuration configuration)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebsiteDataWebsiteDataStoreh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -62,8 +62,8 @@
</span><span class="cx">         String localStorageDirectory;
</span><span class="cx">         String mediaKeysStorageDirectory;
</span><span class="cx">     };
</span><del>-    static RefPtr&lt;WebsiteDataStore&gt; createNonPersistent();
-    static RefPtr&lt;WebsiteDataStore&gt; create(Configuration);
</del><ins>+    static Ref&lt;WebsiteDataStore&gt; createNonPersistent();
+    static Ref&lt;WebsiteDataStore&gt; create(Configuration);
</ins><span class="cx">     virtual ~WebsiteDataStore();
</span><span class="cx"> 
</span><span class="cx">     uint64_t identifier() const { return m_identifier; }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessgtkWebColorPickerGtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/gtk/WebColorPickerGtk.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/gtk/WebColorPickerGtk.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebColorPickerGtk.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -37,9 +37,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebColorPickerGtk&gt; WebColorPickerGtk::create(WebPageProxy&amp; page, const Color&amp; initialColor, const IntRect&amp; rect)
</del><ins>+Ref&lt;WebColorPickerGtk&gt; WebColorPickerGtk::create(WebPageProxy&amp; page, const Color&amp; initialColor, const IntRect&amp; rect)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebColorPickerGtk(page, initialColor, rect));
</del><ins>+    return adoptRef(*new WebColorPickerGtk(page, initialColor, rect));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebColorPickerGtk::WebColorPickerGtk(WebPageProxy&amp; page, const Color&amp; initialColor, const IntRect&amp;)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessgtkWebColorPickerGtkh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/gtk/WebColorPickerGtk.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/gtk/WebColorPickerGtk.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebColorPickerGtk.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebColorPickerGtk : public WebColorPicker {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebColorPickerGtk&gt; create(WebPageProxy&amp;, const WebCore::Color&amp;, const WebCore::IntRect&amp;);
</del><ins>+    static Ref&lt;WebColorPickerGtk&gt; create(WebPageProxy&amp;, const WebCore::Color&amp;, const WebCore::IntRect&amp;);
</ins><span class="cx">     virtual ~WebColorPickerGtk();
</span><span class="cx"> 
</span><span class="cx">     virtual void endPicker() override;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessgtkWebContextMenuProxyGtkh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -41,9 +41,9 @@
</span><span class="cx"> 
</span><span class="cx"> class WebContextMenuProxyGtk : public WebContextMenuProxy {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebContextMenuProxyGtk&gt; create(GtkWidget* webView, WebPageProxy* page)
</del><ins>+    static Ref&lt;WebContextMenuProxyGtk&gt; create(GtkWidget* webView, WebPageProxy* page)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new WebContextMenuProxyGtk(webView, page));
</del><ins>+        return adoptRef(*new WebContextMenuProxyGtk(webView, page));
</ins><span class="cx">     }
</span><span class="cx">     ~WebContextMenuProxyGtk();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessgtkWebPopupMenuProxyGtkh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/gtk/WebPopupMenuProxyGtk.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/gtk/WebPopupMenuProxyGtk.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebPopupMenuProxyGtk.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -37,9 +37,9 @@
</span><span class="cx"> 
</span><span class="cx"> class WebPopupMenuProxyGtk : public WebPopupMenuProxy {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebPopupMenuProxyGtk&gt; create(GtkWidget* webView, WebPopupMenuProxy::Client* client)
</del><ins>+    static Ref&lt;WebPopupMenuProxyGtk&gt; create(GtkWidget* webView, WebPopupMenuProxy::Client* client)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new WebPopupMenuProxyGtk(webView, client));
</del><ins>+        return adoptRef(*new WebPopupMenuProxyGtk(webView, client));
</ins><span class="cx">     }
</span><span class="cx">     ~WebPopupMenuProxyGtk();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessmacViewSnapshotStoreh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/mac/ViewSnapshotStore.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/mac/ViewSnapshotStore.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/mac/ViewSnapshotStore.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -62,9 +62,9 @@
</span><span class="cx"> class ViewSnapshot : public RefCounted&lt;ViewSnapshot&gt; {
</span><span class="cx"> public:
</span><span class="cx"> #if USE_IOSURFACE_VIEW_SNAPSHOTS
</span><del>-    static PassRefPtr&lt;ViewSnapshot&gt; create(std::unique_ptr&lt;WebCore::IOSurface&gt;);
</del><ins>+    static Ref&lt;ViewSnapshot&gt; create(std::unique_ptr&lt;WebCore::IOSurface&gt;);
</ins><span class="cx"> #elif USE_RENDER_SERVER_VIEW_SNAPSHOTS
</span><del>-    static PassRefPtr&lt;ViewSnapshot&gt; create(uint32_t slotID, WebCore::IntSize, size_t imageSizeInBytes);
</del><ins>+    static Ref&lt;ViewSnapshot&gt; create(uint32_t slotID, WebCore::IntSize, size_t imageSizeInBytes);
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     ~ViewSnapshot();
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessmacViewSnapshotStoremm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/mac/ViewSnapshotStore.mm (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/mac/ViewSnapshotStore.mm        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/mac/ViewSnapshotStore.mm        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -134,14 +134,14 @@
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> #if USE_IOSURFACE_VIEW_SNAPSHOTS
</span><del>-PassRefPtr&lt;ViewSnapshot&gt; ViewSnapshot::create(std::unique_ptr&lt;IOSurface&gt; surface)
</del><ins>+Ref&lt;ViewSnapshot&gt; ViewSnapshot::create(std::unique_ptr&lt;IOSurface&gt; surface)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new ViewSnapshot(WTF::move(surface)));
</del><ins>+    return adoptRef(*new ViewSnapshot(WTF::move(surface)));
</ins><span class="cx"> }
</span><span class="cx"> #elif USE_RENDER_SERVER_VIEW_SNAPSHOTS
</span><del>-PassRefPtr&lt;ViewSnapshot&gt; ViewSnapshot::create(uint32_t slotID, IntSize size, size_t imageSizeInBytes)
</del><ins>+Ref&lt;ViewSnapshot&gt; ViewSnapshot::create(uint32_t slotID, IntSize size, size_t imageSizeInBytes)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new ViewSnapshot(slotID, size, imageSizeInBytes));
</del><ins>+    return adoptRef(*new ViewSnapshot(slotID, size, imageSizeInBytes));
</ins><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessmacWebColorPickerMach"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/mac/WebColorPickerMac.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/mac/WebColorPickerMac.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/mac/WebColorPickerMac.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -60,7 +60,7 @@
</span><span class="cx">     
</span><span class="cx"> class WebColorPickerMac : public WebColorPicker {
</span><span class="cx"> public:        
</span><del>-    static PassRefPtr&lt;WebColorPickerMac&gt; create(WebColorPicker::Client*, const WebCore::Color&amp;, const WebCore::IntRect&amp;, WKView*);
</del><ins>+    static Ref&lt;WebColorPickerMac&gt; create(WebColorPicker::Client*, const WebCore::Color&amp;, const WebCore::IntRect&amp;, WKView*);
</ins><span class="cx">     ~WebColorPickerMac();
</span><span class="cx"> 
</span><span class="cx">     virtual void endPicker() override;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessmacWebColorPickerMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/mac/WebColorPickerMac.mm (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/mac/WebColorPickerMac.mm        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/mac/WebColorPickerMac.mm        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -75,9 +75,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebColorPickerMac&gt; WebColorPickerMac::create(WebColorPicker::Client* client, const WebCore::Color&amp; initialColor, const WebCore::IntRect&amp; rect, WKView* view)
</del><ins>+Ref&lt;WebColorPickerMac&gt; WebColorPickerMac::create(WebColorPicker::Client* client, const WebCore::Color&amp; initialColor, const WebCore::IntRect&amp; rect, WKView* view)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebColorPickerMac(client, initialColor, rect, view));
</del><ins>+    return adoptRef(*new WebColorPickerMac(client, initialColor, rect, view));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebColorPickerMac::~WebColorPickerMac()
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessmacWebContextMenuProxyMach"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/mac/WebContextMenuProxyMac.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/mac/WebContextMenuProxyMac.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/mac/WebContextMenuProxyMac.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -43,9 +43,9 @@
</span><span class="cx"> 
</span><span class="cx"> class WebContextMenuProxyMac : public WebContextMenuProxy {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebContextMenuProxyMac&gt; create(WKView* webView, WebPageProxy* page)
</del><ins>+    static Ref&lt;WebContextMenuProxyMac&gt; create(WKView* webView, WebPageProxy* page)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new WebContextMenuProxyMac(webView, page));
</del><ins>+        return adoptRef(*new WebContextMenuProxyMac(webView, page));
</ins><span class="cx">     }
</span><span class="cx">     ~WebContextMenuProxyMac();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessmacWebPopupMenuProxyMach"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/UIProcess/mac/WebPopupMenuProxyMac.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -40,9 +40,9 @@
</span><span class="cx"> 
</span><span class="cx"> class WebPopupMenuProxyMac : public WebPopupMenuProxy {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebPopupMenuProxyMac&gt; create(WKView *webView, WebPopupMenuProxy::Client* client)
</del><ins>+    static Ref&lt;WebPopupMenuProxyMac&gt; create(WKView *webView, WebPopupMenuProxy::Client* client)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new WebPopupMenuProxyMac(webView, client));
</del><ins>+        return adoptRef(*new WebPopupMenuProxyMac(webView, client));
</ins><span class="cx">     }
</span><span class="cx">     ~WebPopupMenuProxyMac();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessDatabasesIndexedDBWebIDBFactoryBackendh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBFactoryBackend.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebIDBFactoryBackend final : public WebCore::IDBFactoryBackendInterface {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebIDBFactoryBackend&gt; create() { return adoptRef(new WebIDBFactoryBackend); }
</del><ins>+    static Ref&lt;WebIDBFactoryBackend&gt; create() { return adoptRef(*new WebIDBFactoryBackend); }
</ins><span class="cx"> 
</span><span class="cx">     virtual ~WebIDBFactoryBackend();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessDatabasesWebToDatabaseProcessConnectionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Databases/WebToDatabaseProcessConnection.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Databases/WebToDatabaseProcessConnection.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/WebProcess/Databases/WebToDatabaseProcessConnection.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -40,9 +40,9 @@
</span><span class="cx"> 
</span><span class="cx"> class WebToDatabaseProcessConnection : public RefCounted&lt;WebToDatabaseProcessConnection&gt;, public IPC::Connection::Client, public IPC::MessageSender {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebToDatabaseProcessConnection&gt; create(IPC::Connection::Identifier connectionIdentifier)
</del><ins>+    static Ref&lt;WebToDatabaseProcessConnection&gt; create(IPC::Connection::Identifier connectionIdentifier)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new WebToDatabaseProcessConnection(connectionIdentifier));
</del><ins>+        return adoptRef(*new WebToDatabaseProcessConnection(connectionIdentifier));
</ins><span class="cx">     }
</span><span class="cx">     ~WebToDatabaseProcessConnection();
</span><span class="cx">     
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessFullScreenWebFullScreenManagercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -59,9 +59,9 @@
</span><span class="cx">     return element-&gt;screenRect();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;WebFullScreenManager&gt; WebFullScreenManager::create(WebPage* page)
</del><ins>+Ref&lt;WebFullScreenManager&gt; WebFullScreenManager::create(WebPage* page)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new WebFullScreenManager(page));
</del><ins>+    return adoptRef(*new WebFullScreenManager(page));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WebFullScreenManager::WebFullScreenManager(WebPage* page)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessFullScreenWebFullScreenManagerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/WebProcess/FullScreen/WebFullScreenManager.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx"> 
</span><span class="cx"> class WebFullScreenManager : public RefCounted&lt;WebFullScreenManager&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;WebFullScreenManager&gt; create(WebPage*);
</del><ins>+    static Ref&lt;WebFullScreenManager&gt; create(WebPage*);
</ins><span class="cx">     virtual ~WebFullScreenManager();
</span><span class="cx"> 
</span><span class="cx">     void didReceiveMessage(IPC::Connection&amp;, IPC::MessageDecoder&amp;);
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleDOMInjectedBundleRangeHandlecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -75,9 +75,9 @@
</span><span class="cx">     return rangeHandle.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;InjectedBundleRangeHandle&gt; InjectedBundleRangeHandle::create(Range* range)
</del><ins>+Ref&lt;InjectedBundleRangeHandle&gt; InjectedBundleRangeHandle::create(Range* range)
</ins><span class="cx"> {
</span><del>-    return adoptRef(new InjectedBundleRangeHandle(range));
</del><ins>+    return adoptRef(*new InjectedBundleRangeHandle(range));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> InjectedBundleRangeHandle::InjectedBundleRangeHandle(Range* range)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleDOMInjectedBundleRangeHandleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">     WebCore::Range* coreRange() const;
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    static PassRefPtr&lt;InjectedBundleRangeHandle&gt; create(WebCore::Range*);
</del><ins>+    static Ref&lt;InjectedBundleRangeHandle&gt; create(WebCore::Range*);
</ins><span class="cx">     InjectedBundleRangeHandle(WebCore::Range*);
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;WebCore::Range&gt; m_range;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleInjectedBundleBackForwardListh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleBackForwardList.h (185636 => 185637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleBackForwardList.h        2015-06-17 03:30:51 UTC (rev 185636)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundleBackForwardList.h        2015-06-17 03:33:26 UTC (rev 185637)
</span><span class="lines">@@ -37,9 +37,9 @@
</span><span class="cx"> 
</span><span class="cx"> class InjectedBundleBackForwardList : public API::ObjectImpl&lt;API::Object::Type::BundleBackForwardList&gt; {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;InjectedBundleBackForwardList&gt; create(WebPage* page)
</del><ins>+    static Ref&lt;InjectedBundleBackForwardList&gt; create(WebPage* page)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new InjectedBundleBackForwardList(page));
</del><ins>+        return adoptRef(*new InjectedBundleBackForwardList(page));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     void detach() { m_page = 0; }
</span></span></pre>
</div>
</div>

</body>
</html>