Index: Source/modules/gamepad/NavigatorGamepad.h |
diff --git a/Source/modules/gamepad/NavigatorGamepad.h b/Source/modules/gamepad/NavigatorGamepad.h |
index 89df5d78a274a94c4f2991e43e5cc9263946facb..c8f23a06826e1984843df0b8e4501c1f186f1dc9 100644 |
--- a/Source/modules/gamepad/NavigatorGamepad.h |
+++ b/Source/modules/gamepad/NavigatorGamepad.h |
@@ -76,6 +76,7 @@ private: |
virtual void unregisterWithDispatcher() OVERRIDE; |
virtual bool hasLastData() OVERRIDE; |
virtual void didUpdateData() OVERRIDE; |
+ virtual void pageVisibilityChanged() OVERRIDE; |
// DOMWindowLifecycleObserver |
virtual void didAddEventListener(LocalDOMWindow*, const AtomicString&) OVERRIDE; |
@@ -84,6 +85,7 @@ private: |
PersistentWillBeMember<GamepadList> m_gamepads; |
PersistentWillBeMember<WebKitGamepadList> m_webkitGamepads; |
+ bool m_wasPolled; |
}; |
} // namespace WebCore |