| Index: Source/modules/gamepad/NavigatorGamepad.cpp
|
| diff --git a/Source/modules/gamepad/NavigatorGamepad.cpp b/Source/modules/gamepad/NavigatorGamepad.cpp
|
| index d8019364487ee9201b6ca19fbd257b4a6615d663..0b39cea0a4775edb93e83c9af4196c9516b2f78a 100644
|
| --- a/Source/modules/gamepad/NavigatorGamepad.cpp
|
| +++ b/Source/modules/gamepad/NavigatorGamepad.cpp
|
| @@ -228,14 +228,4 @@
|
| m_hasEventListener = false;
|
| }
|
|
|
| -void NavigatorGamepad::pageVisibilityChanged()
|
| -{
|
| - // We inform the embedder whether it needs to provide gamepad data for us.
|
| - // In this sense it is irrelevant whether we need an event listener hence there is no check here.
|
| - if (page()->visibilityState() == PageVisibilityStateVisible)
|
| - startUpdating();
|
| - else
|
| - stopUpdating();
|
| -}
|
| -
|
| } // namespace WebCore
|
|
|