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