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

Unified Diff: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.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/screen_orientation/ScreenOrientationController.cpp
diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp
index 464fec187c99246783d710a738cdb398e77ef898..87380a3133e032c740397e592a0c18dfd747986e 100644
--- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp
+++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp
@@ -27,12 +27,12 @@ void ScreenOrientationController::provideTo(LocalFrame& frame, WebScreenOrientat
ASSERT(RuntimeEnabledFeatures::screenOrientationEnabled());
ScreenOrientationController* controller = new ScreenOrientationController(frame, client);
- HeapSupplement<LocalFrame>::provideTo(frame, supplementName(), controller);
+ Supplement<LocalFrame>::provideTo(frame, supplementName(), controller);
}
ScreenOrientationController* ScreenOrientationController::from(LocalFrame& frame)
{
- return static_cast<ScreenOrientationController*>(HeapSupplement<LocalFrame>::from(frame, supplementName()));
+ return static_cast<ScreenOrientationController*>(Supplement<LocalFrame>::from(frame, supplementName()));
}
ScreenOrientationController::ScreenOrientationController(LocalFrame& frame, WebScreenOrientationClient* client)
@@ -214,7 +214,7 @@ DEFINE_TRACE(ScreenOrientationController)
{
visitor->trace(m_orientation);
LocalFrameLifecycleObserver::trace(visitor);
- HeapSupplement<LocalFrame>::trace(visitor);
+ Supplement<LocalFrame>::trace(visitor);
PlatformEventController::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698