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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationController.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/PresentationController.cpp
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationController.cpp b/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
index 3dea7e774b9c024629019ee052fc29efe466d6f8..f14742412ab0484734f1ff94e1de7e1c9bc81b86 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
+++ b/third_party/WebKit/Source/modules/presentation/PresentationController.cpp
@@ -39,13 +39,13 @@ const char* PresentationController::supplementName()
// static
PresentationController* PresentationController::from(LocalFrame& frame)
{
- return static_cast<PresentationController*>(HeapSupplement<LocalFrame>::from(frame, supplementName()));
+ return static_cast<PresentationController*>(Supplement<LocalFrame>::from(frame, supplementName()));
}
// static
void PresentationController::provideTo(LocalFrame& frame, WebPresentationClient* client)
{
- HeapSupplement<LocalFrame>::provideTo(frame, PresentationController::supplementName(), PresentationController::create(frame, client));
+ Supplement<LocalFrame>::provideTo(frame, PresentationController::supplementName(), PresentationController::create(frame, client));
}
WebPresentationClient* PresentationController::client()
@@ -57,7 +57,7 @@ DEFINE_TRACE(PresentationController)
{
visitor->trace(m_presentation);
visitor->trace(m_connections);
- HeapSupplement<LocalFrame>::trace(visitor);
+ Supplement<LocalFrame>::trace(visitor);
LocalFrameLifecycleObserver::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698