| Index: device/bluetooth/bluetooth_adapter_android.h
|
| diff --git a/device/bluetooth/bluetooth_adapter_android.h b/device/bluetooth/bluetooth_adapter_android.h
|
| index d96e1280f18b41cd3170cd8aec3158502149398d..cc93dd7936af9a9af3d6c51a9afb4ca39ad56813 100644
|
| --- a/device/bluetooth/bluetooth_adapter_android.h
|
| +++ b/device/bluetooth/bluetooth_adapter_android.h
|
| @@ -44,7 +44,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterAndroid final
|
| // The BluetoothAdapterAndroid instance will indirectly hold a Java reference
|
| // to |bluetooth_adapter_wrapper|.
|
| static base::WeakPtr<BluetoothAdapterAndroid> Create(
|
| - jobject bluetooth_adapter_wrapper); // Java Type: bluetoothAdapterWrapper
|
| + const base::android::JavaRef<jobject>&
|
| + bluetooth_adapter_wrapper); // Java Type: bluetoothAdapterWrapper
|
|
|
| // Register C++ methods exposed to Java using JNI.
|
| static bool RegisterJNI(JNIEnv* env);
|
|
|