Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(916)

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseClient.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webdatabase/DatabaseClient.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.cpp b/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.cpp
index 18029fec01e748967d2a6cc588cd24835215fb9a..3fd96f280f261b09160384136813b481b50f4a28 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseClient.cpp
@@ -48,7 +48,7 @@ DEFINE_TRACE(DatabaseClient)
DatabaseClient* DatabaseClient::fromPage(Page* page)
{
- return static_cast<DatabaseClient*>(WillBeHeapSupplement<Page>::from(page, supplementName()));
+ return static_cast<DatabaseClient*>(HeapSupplement<Page>::from(page, supplementName()));
}
DatabaseClient* DatabaseClient::from(ExecutionContext* context)
@@ -73,7 +73,7 @@ void DatabaseClient::setInspectorAgent(InspectorDatabaseAgent* agent)
m_inspectorAgent = agent;
}
-void provideDatabaseClientTo(Page& page, PassOwnPtrWillBeRawPtr<DatabaseClient> client)
+void provideDatabaseClientTo(Page& page, RawPtr<DatabaseClient> client)
{
page.provideSupplement(DatabaseClient::supplementName(), client);
}

Powered by Google App Engine
This is Rietveld 408576698