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); |
} |