| Index: Source/modules/gamepad/NavigatorGamepad.cpp
|
| diff --git a/Source/modules/gamepad/NavigatorGamepad.cpp b/Source/modules/gamepad/NavigatorGamepad.cpp
|
| index a6627256e2ed276552551bd68c2ecfe8c020ccf2..a9800909eaa9ff952aced577c2b86fc6c0c703b2 100644
|
| --- a/Source/modules/gamepad/NavigatorGamepad.cpp
|
| +++ b/Source/modules/gamepad/NavigatorGamepad.cpp
|
| @@ -224,7 +224,7 @@ static bool isGamepadEvent(const AtomicString& eventType)
|
|
|
| void NavigatorGamepad::didAddEventListener(LocalDOMWindow*, const AtomicString& eventType)
|
| {
|
| - if (RuntimeEnabledFeatures::gamepadEnabled() && isGamepadEvent(eventType)) {
|
| + if (isGamepadEvent(eventType)) {
|
| if (page() && page()->visibilityState() == PageVisibilityStateVisible)
|
| startUpdating();
|
| m_hasEventListener = true;
|
|
|