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

Unified Diff: third_party/WebKit/Source/modules/permissions/WorkerNavigatorPermissions.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/permissions/WorkerNavigatorPermissions.cpp
diff --git a/third_party/WebKit/Source/modules/permissions/WorkerNavigatorPermissions.cpp b/third_party/WebKit/Source/modules/permissions/WorkerNavigatorPermissions.cpp
index 2ac5498292436a0d3fc72e235b7e0a7c35c884ce..91fff5916f44b5a88a97b6b74535d898332c809c 100644
--- a/third_party/WebKit/Source/modules/permissions/WorkerNavigatorPermissions.cpp
+++ b/third_party/WebKit/Source/modules/permissions/WorkerNavigatorPermissions.cpp
@@ -22,7 +22,7 @@ const char* WorkerNavigatorPermissions::supplementName()
// static
WorkerNavigatorPermissions& WorkerNavigatorPermissions::from(WorkerNavigator& workerNavigator)
{
- WorkerNavigatorPermissions* supplement = static_cast<WorkerNavigatorPermissions*>(HeapSupplement<WorkerNavigator>::from(workerNavigator, supplementName()));
+ WorkerNavigatorPermissions* supplement = static_cast<WorkerNavigatorPermissions*>(Supplement<WorkerNavigator>::from(workerNavigator, supplementName()));
if (!supplement) {
supplement = new WorkerNavigatorPermissions();
provideTo(workerNavigator, supplementName(), supplement);
@@ -42,7 +42,7 @@ Permissions* WorkerNavigatorPermissions::permissions(WorkerNavigator& workerNavi
DEFINE_TRACE(WorkerNavigatorPermissions)
{
visitor->trace(m_permissions);
- HeapSupplement<WorkerNavigator>::trace(visitor);
+ Supplement<WorkerNavigator>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698