Index: content/public/android/java/src/org/chromium/content/browser/input/GamepadDevice.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/GamepadDevice.java b/content/public/android/java/src/org/chromium/content/browser/input/GamepadDevice.java |
index 9665dc0feb8ccbb31e22dabe8bec43255a6890f8..ca534bf3ddfce4803bbe36b938dc8d9baad42267 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/input/GamepadDevice.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/input/GamepadDevice.java |
@@ -30,9 +30,9 @@ |
// All axis values must be linearly normalized to the range [-1.0 .. 1.0]. |
// As appropriate, -1.0 should correspond to "up" or "left", and 1.0 |
// should correspond to "down" or "right". |
- private final float[] mAxisValues = new float[CanonicalAxisIndex.COUNT]; |
+ private final float[] mAxisValues = new float[CanonicalAxisIndex.NUM_CANONICAL_AXES]; |
- private final float[] mButtonsValues = new float[CanonicalButtonIndex.COUNT];; |
+ private final float[] mButtonsValues = new float[CanonicalButtonIndex.NUM_CANONICAL_BUTTONS];; |
// When the user agent recognizes the attached inputDevice, it is recommended |
// that it be remapped to a canonical ordering when possible. Devices that are |