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

Unified Diff: third_party/WebKit/Source/modules/presentation/NavigatorPresentation.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/presentation/NavigatorPresentation.cpp
diff --git a/third_party/WebKit/Source/modules/presentation/NavigatorPresentation.cpp b/third_party/WebKit/Source/modules/presentation/NavigatorPresentation.cpp
index 453b9350769dcbd16e16343f82a27c52637d1cd1..a406f225be8847d5be5c13f1c0fb67615d4f58bb 100644
--- a/third_party/WebKit/Source/modules/presentation/NavigatorPresentation.cpp
+++ b/third_party/WebKit/Source/modules/presentation/NavigatorPresentation.cpp
@@ -22,7 +22,7 @@ const char* NavigatorPresentation::supplementName()
// static
NavigatorPresentation& NavigatorPresentation::from(Navigator& navigator)
{
- NavigatorPresentation* supplement = static_cast<NavigatorPresentation*>(HeapSupplement<Navigator>::from(navigator, supplementName()));
+ NavigatorPresentation* supplement = static_cast<NavigatorPresentation*>(Supplement<Navigator>::from(navigator, supplementName()));
if (!supplement) {
supplement = new NavigatorPresentation();
provideTo(navigator, supplementName(), supplement);
@@ -45,7 +45,7 @@ Presentation* NavigatorPresentation::presentation(Navigator& navigator)
DEFINE_TRACE(NavigatorPresentation)
{
visitor->trace(m_presentation);
- HeapSupplement<Navigator>::trace(visitor);
+ Supplement<Navigator>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698