| Index: device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc
|
| diff --git a/device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc b/device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc
|
| index 6e835a209bed29573326ec3e6845abd031e81e38..b0ee1b3e024fc36b852ca7f2386fdf9217a4f3f1 100644
|
| --- a/device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc
|
| +++ b/device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc
|
| @@ -19,6 +19,7 @@
|
|
|
| using base::android::AttachCurrentThread;
|
| using base::android::JavaParamRef;
|
| +using base::android::JavaRef;
|
|
|
| namespace device {
|
|
|
| @@ -26,9 +27,9 @@ namespace device {
|
| std::unique_ptr<BluetoothRemoteGattDescriptorAndroid>
|
| BluetoothRemoteGattDescriptorAndroid::Create(
|
| const std::string& instance_id,
|
| - jobject /* BluetoothGattDescriptorWrapper */
|
| + const JavaRef<jobject>& /* BluetoothGattDescriptorWrapper */
|
| bluetooth_gatt_descriptor_wrapper,
|
| - jobject /* chromeBluetoothDevice */
|
| + const JavaRef<jobject>& /* chromeBluetoothDevice */
|
| chrome_bluetooth_device) {
|
| std::unique_ptr<BluetoothRemoteGattDescriptorAndroid> descriptor(
|
| new BluetoothRemoteGattDescriptorAndroid(instance_id));
|
|
|