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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.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/serviceworkers/NavigatorServiceWorker.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp b/third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
index 8602f439e901cc4e440fec7d7fdbd92ccf813edc..70ee04fe8d201a9c1df363ae5f63726e340c787f 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/NavigatorServiceWorker.cpp
@@ -45,7 +45,7 @@ NavigatorServiceWorker& NavigatorServiceWorker::from(Navigator& navigator)
NavigatorServiceWorker* NavigatorServiceWorker::toNavigatorServiceWorker(Navigator& navigator)
{
- return static_cast<NavigatorServiceWorker*>(HeapSupplement<Navigator>::from(navigator, supplementName()));
+ return static_cast<NavigatorServiceWorker*>(Supplement<Navigator>::from(navigator, supplementName()));
}
const char* NavigatorServiceWorker::supplementName()
@@ -86,7 +86,7 @@ void NavigatorServiceWorker::willDetachGlobalObjectFromFrame()
DEFINE_TRACE(NavigatorServiceWorker)
{
visitor->trace(m_serviceWorker);
- HeapSupplement<Navigator>::trace(visitor);
+ Supplement<Navigator>::trace(visitor);
DOMWindowProperty::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698