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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.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, 9 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/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp b/third_party/WebKit/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp
index 374ef9a5866d4e78907bddffbf572f05a1c7e153..298e95ebee10e96300752b8f6a3ef74d573695c9 100644
--- a/third_party/WebKit/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp
@@ -46,9 +46,9 @@ const char* WorkerGlobalScopeIndexedDatabase::supplementName()
return "WorkerGlobalScopeIndexedDatabase";
}
-WorkerGlobalScopeIndexedDatabase& WorkerGlobalScopeIndexedDatabase::from(WillBeHeapSupplementable<WorkerGlobalScope>& context)
+WorkerGlobalScopeIndexedDatabase& WorkerGlobalScopeIndexedDatabase::from(HeapSupplementable<WorkerGlobalScope>& context)
{
- WorkerGlobalScopeIndexedDatabase* supplement = static_cast<WorkerGlobalScopeIndexedDatabase*>(WillBeHeapSupplement<WorkerGlobalScope>::from(context, supplementName()));
+ WorkerGlobalScopeIndexedDatabase* supplement = static_cast<WorkerGlobalScopeIndexedDatabase*>(HeapSupplement<WorkerGlobalScope>::from(context, supplementName()));
if (!supplement) {
supplement = new WorkerGlobalScopeIndexedDatabase();
provideTo(context, supplementName(), adoptPtrWillBeNoop(supplement));
@@ -56,7 +56,7 @@ WorkerGlobalScopeIndexedDatabase& WorkerGlobalScopeIndexedDatabase::from(WillBeH
return *supplement;
}
-IDBFactory* WorkerGlobalScopeIndexedDatabase::indexedDB(WillBeHeapSupplementable<WorkerGlobalScope>& context)
+IDBFactory* WorkerGlobalScopeIndexedDatabase::indexedDB(HeapSupplementable<WorkerGlobalScope>& context)
{
return from(context).indexedDB();
}
@@ -71,7 +71,7 @@ IDBFactory* WorkerGlobalScopeIndexedDatabase::indexedDB()
DEFINE_TRACE(WorkerGlobalScopeIndexedDatabase)
{
visitor->trace(m_idbFactory);
- WillBeHeapSupplement<WorkerGlobalScope>::trace(visitor);
+ HeapSupplement<WorkerGlobalScope>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698