Index: Source/modules/gamepad/NavigatorGamepad.cpp |
diff --git a/Source/modules/gamepad/NavigatorGamepad.cpp b/Source/modules/gamepad/NavigatorGamepad.cpp |
index 37b2d01e449cbc6c1a7b819278fd3dc9579b6684..dd60ce0c8116bae92dae42f08a6eb677d7927b47 100644 |
--- a/Source/modules/gamepad/NavigatorGamepad.cpp |
+++ b/Source/modules/gamepad/NavigatorGamepad.cpp |
@@ -35,7 +35,6 @@ |
#include "modules/gamepad/GamepadEvent.h" |
#include "modules/gamepad/GamepadList.h" |
#include "modules/gamepad/WebKitGamepadList.h" |
-#include "platform/RuntimeEnabledFeatures.h" |
namespace blink { |
@@ -228,7 +227,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; |