diff options
Diffstat (limited to 'device/bluetooth/bluetooth_remote_gatt_service_android.cc')
-rw-r--r-- | device/bluetooth/bluetooth_remote_gatt_service_android.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/device/bluetooth/bluetooth_remote_gatt_service_android.cc b/device/bluetooth/bluetooth_remote_gatt_service_android.cc index 3cb8c65..e5f7710 100644 --- a/device/bluetooth/bluetooth_remote_gatt_service_android.cc +++ b/device/bluetooth/bluetooth_remote_gatt_service_android.cc @@ -178,11 +178,12 @@ void BluetoothRemoteGattServiceAndroid::Unregister( void BluetoothRemoteGattServiceAndroid::CreateGattRemoteCharacteristic( JNIEnv* env, - jobject caller, - const jstring& instanceId, - jobject /* BluetoothGattCharacteristicWrapper */ + const JavaParamRef<jobject>& caller, + const JavaParamRef<jstring>& instanceId, + const JavaParamRef<jobject>& /* BluetoothGattCharacteristicWrapper */ bluetooth_gatt_characteristic_wrapper, - jobject /* ChromeBluetoothDevice */ chrome_bluetooth_device) { + const JavaParamRef< + jobject>& /* ChromeBluetoothDevice */ chrome_bluetooth_device) { std::string instanceIdString = base::android::ConvertJavaStringToUTF8(env, instanceId); |