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

Unified Diff: third_party/WebKit/Source/modules/quota/WorkerNavigatorStorageQuota.cpp

Issue 1846913009: HeapSupplements are now just Supplements. (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/quota/WorkerNavigatorStorageQuota.cpp
diff --git a/third_party/WebKit/Source/modules/quota/WorkerNavigatorStorageQuota.cpp b/third_party/WebKit/Source/modules/quota/WorkerNavigatorStorageQuota.cpp
index 89bb9273fc914d278992220ff47a0dbeb42ef081..f5cd7d812951759b34c4e0602124bf44dfe3a684 100644
--- a/third_party/WebKit/Source/modules/quota/WorkerNavigatorStorageQuota.cpp
+++ b/third_party/WebKit/Source/modules/quota/WorkerNavigatorStorageQuota.cpp
@@ -46,7 +46,7 @@ const char* WorkerNavigatorStorageQuota::supplementName()
WorkerNavigatorStorageQuota& WorkerNavigatorStorageQuota::from(WorkerNavigator& navigator)
{
- WorkerNavigatorStorageQuota* supplement = static_cast<WorkerNavigatorStorageQuota*>(HeapSupplement<WorkerNavigator>::from(navigator, supplementName()));
+ WorkerNavigatorStorageQuota* supplement = static_cast<WorkerNavigatorStorageQuota*>(Supplement<WorkerNavigator>::from(navigator, supplementName()));
if (!supplement) {
supplement = new WorkerNavigatorStorageQuota();
provideTo(navigator, supplementName(), supplement);
@@ -95,7 +95,7 @@ DEFINE_TRACE(WorkerNavigatorStorageQuota)
visitor->trace(m_temporaryStorage);
visitor->trace(m_persistentStorage);
visitor->trace(m_storageManager);
- HeapSupplement<WorkerNavigator>::trace(visitor);
+ Supplement<WorkerNavigator>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698