Index: Source/modules/screen_orientation/ScreenOrientationController.cpp |
diff --git a/Source/modules/screen_orientation/ScreenOrientationController.cpp b/Source/modules/screen_orientation/ScreenOrientationController.cpp |
index 60dd9b42e25c637dc4a985f4d0b8c4e11dd99197..9ea7c471dd53915318dc6d82c784382414c527a7 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientationController.cpp |
+++ b/Source/modules/screen_orientation/ScreenOrientationController.cpp |
@@ -35,7 +35,7 @@ ScreenOrientationController* ScreenOrientationController::from(LocalFrame& frame |
} |
ScreenOrientationController::ScreenOrientationController(LocalFrame& frame, WebScreenOrientationClient* client) |
- : FrameDestructionObserver(&frame) |
+ : LocalFrameLifecycleObserver(&frame) |
, PlatformEventController(frame.page()) |
, m_client(client) |
, m_dispatchEventTimer(this, &ScreenOrientationController::dispatchEventTimerFired) |
@@ -212,7 +212,7 @@ void ScreenOrientationController::notifyDispatcher() |
DEFINE_TRACE(ScreenOrientationController) |
{ |
visitor->trace(m_orientation); |
- FrameDestructionObserver::trace(visitor); |
+ LocalFrameLifecycleObserver::trace(visitor); |
WillBeHeapSupplement<LocalFrame>::trace(visitor); |
PlatformEventController::trace(visitor); |
} |