Index: Source/modules/gamepad/NavigatorGamepad.h |
diff --git a/Source/modules/gamepad/NavigatorGamepad.h b/Source/modules/gamepad/NavigatorGamepad.h |
index 15f9cf7a3bb73862130ae8ea347098210f7f2f9c..84646e156fe8503046063d966a94ed95606844d8 100644 |
--- a/Source/modules/gamepad/NavigatorGamepad.h |
+++ b/Source/modules/gamepad/NavigatorGamepad.h |
@@ -71,6 +71,7 @@ private: |
virtual void willDetachGlobalObjectFromFrame() OVERRIDE; |
// DeviceSensorEventController |
+ virtual void pageVisibilityChanged() OVERRIDE FINAL; |
virtual void registerWithDispatcher() OVERRIDE; |
virtual void unregisterWithDispatcher() OVERRIDE; |
virtual bool hasLastData() OVERRIDE; |
@@ -83,8 +84,14 @@ private: |
virtual void didRemoveEventListener(DOMWindow*, const AtomicString&) OVERRIDE; |
virtual void didRemoveAllEventListeners(DOMWindow*) OVERRIDE; |
+ // Supplement |
+ virtual void willBeDestroyed(); |
+ |
+ void invalidateCanContinueDispatchingSentinel(); |
+ |
PersistentWillBeMember<GamepadList> m_gamepads; |
PersistentWillBeMember<WebKitGamepadList> m_webkitGamepads; |
+ bool* m_canContinueDispatchingSentinelPtr; |
}; |
} // namespace WebCore |