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 |