| Index: content/browser/gamepad/gamepad_platform_data_fetcher_android.cc
|
| diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher_android.cc b/content/browser/gamepad/gamepad_platform_data_fetcher_android.cc
|
| index 46df9e53857bc46c80cb22fbb1cb4612732b12d8..471a041efe9ff6a338b5fd4a2bbdaa017e36ce97 100644
|
| --- a/content/browser/gamepad/gamepad_platform_data_fetcher_android.cc
|
| +++ b/content/browser/gamepad/gamepad_platform_data_fetcher_android.cc
|
| @@ -63,15 +63,15 @@ void GamepadPlatformDataFetcherAndroid::PauseHint(bool paused) {
|
| }
|
|
|
| static void SetGamepadData(JNIEnv* env,
|
| - jobject obj,
|
| + const JavaParamRef<jobject>& obj,
|
| jlong gamepads,
|
| jint index,
|
| jboolean mapping,
|
| jboolean connected,
|
| - jstring devicename,
|
| + const JavaParamRef<jstring>& devicename,
|
| jlong timestamp,
|
| - jfloatArray jaxes,
|
| - jfloatArray jbuttons) {
|
| + const JavaParamRef<jfloatArray>& jaxes,
|
| + const JavaParamRef<jfloatArray>& jbuttons) {
|
| DCHECK(gamepads);
|
| blink::WebGamepads* pads = reinterpret_cast<WebGamepads*>(gamepads);
|
| DCHECK_EQ(pads->length, unsigned(index));
|
|
|