| Index: device/bluetooth/bluetooth_device_android.h
|
| diff --git a/device/bluetooth/bluetooth_device_android.h b/device/bluetooth/bluetooth_device_android.h
|
| index 8e68e5aa2749e33461f6394e5891a042a3dc3519..23b7fd0fbe88b73291a1cef5e4b17f23f241d331 100644
|
| --- a/device/bluetooth/bluetooth_device_android.h
|
| +++ b/device/bluetooth/bluetooth_device_android.h
|
| @@ -10,6 +10,7 @@
|
| #include <memory>
|
|
|
| #include "base/android/jni_android.h"
|
| +#include "base/android/scoped_java_ref.h"
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "device/bluetooth/bluetooth_adapter_android.h"
|
| @@ -34,7 +35,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceAndroid final
|
| // this correctly. http://crbug.com/506416
|
| static BluetoothDeviceAndroid* Create(
|
| BluetoothAdapterAndroid* adapter,
|
| - jobject bluetooth_device_wrapper); // Java Type: bluetoothDeviceWrapper
|
| + const base::android::JavaRef<jobject>&
|
| + bluetooth_device_wrapper); // Java Type: bluetoothDeviceWrapper
|
|
|
| ~BluetoothDeviceAndroid() override;
|
|
|
|
|