Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 7a2d8fda8a7f3dff610ebf7b95e9f4040329fb78..e39345c93bc7086aee86cf77370d340dda16d1b8 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -33,6 +33,8 @@ |
media::MediaCodecBridge::IsAvailable() && |
((android_getCpuFamily() == ANDROID_CPU_FAMILY_ARM) || |
(android_getCpuFamily() == ANDROID_CPU_FAMILY_X86))); |
+ // Android does not support the Gamepad API. |
+ WebRuntimeFeatures::enableGamepad(false); |
// Android does not have support for PagePopup |
WebRuntimeFeatures::enablePagePopup(false); |
// Android does not yet support the Web Notification API. crbug.com/115320 |