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

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

Powered by Google App Engine
This is Rietveld 408576698