Index: Source/modules/screen_orientation/ScreenOrientationController.h |
diff --git a/Source/modules/screen_orientation/ScreenOrientationController.h b/Source/modules/screen_orientation/ScreenOrientationController.h |
index 584dbb24172ed0f8e825bf530b35cc3f96329226..78915cc0594470e57add8310a1736273fbeae22e 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientationController.h |
+++ b/Source/modules/screen_orientation/ScreenOrientationController.h |
@@ -8,7 +8,6 @@ |
#include "core/frame/LocalFrameLifecycleObserver.h" |
#include "core/frame/PlatformEventController.h" |
#include "platform/Supplementable.h" |
-#include "platform/Timer.h" |
#include "public/platform/WebLockOrientationCallback.h" |
#include "public/platform/WebScreenOrientationLockType.h" |
#include "public/platform/WebScreenOrientationType.h" |
@@ -60,13 +59,13 @@ private: |
void updateOrientation(); |
- void dispatchEventTimerFired(Timer<ScreenOrientationController>*); |
+ void dispatchChangeEvent(); |
bool isActiveAndVisible() const; |
PersistentWillBeMember<ScreenOrientation> m_orientation; |
WebScreenOrientationClient* m_client; |
- Timer<ScreenOrientationController> m_dispatchEventTimer; |
+ bool m_isDispatchingEvent; |
}; |
} // namespace blink |