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

Unified Diff: third_party/WebKit/Source/modules/installedapp/InstalledAppController.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/installedapp/InstalledAppController.cpp
diff --git a/third_party/WebKit/Source/modules/installedapp/InstalledAppController.cpp b/third_party/WebKit/Source/modules/installedapp/InstalledAppController.cpp
index c282647cf14a9c916fb4360475a147fd0dd6b43e..c43109d6b953bcf863022ada2a0a5b5ca3e3c179 100644
--- a/third_party/WebKit/Source/modules/installedapp/InstalledAppController.cpp
+++ b/third_party/WebKit/Source/modules/installedapp/InstalledAppController.cpp
@@ -19,12 +19,12 @@ void InstalledAppController::provideTo(LocalFrame& frame, WebInstalledAppClient*
ASSERT(RuntimeEnabledFeatures::installedAppEnabled());
RawPtr<InstalledAppController> controller = new InstalledAppController(frame, client);
- HeapSupplement<LocalFrame>::provideTo(frame, supplementName(), controller.release());
+ Supplement<LocalFrame>::provideTo(frame, supplementName(), controller.release());
}
InstalledAppController* InstalledAppController::from(LocalFrame& frame)
{
- InstalledAppController* controller = static_cast<InstalledAppController*>(HeapSupplement<LocalFrame>::from(frame, supplementName()));
+ InstalledAppController* controller = static_cast<InstalledAppController*>(Supplement<LocalFrame>::from(frame, supplementName()));
ASSERT(controller);
return controller;
}
@@ -59,7 +59,7 @@ void InstalledAppController::willDetachFrameHost()
DEFINE_TRACE(InstalledAppController)
{
- HeapSupplement<LocalFrame>::trace(visitor);
+ Supplement<LocalFrame>::trace(visitor);
LocalFrameLifecycleObserver::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698