Index: device/bluetooth/bluetooth_device_android.cc |
diff --git a/device/bluetooth/bluetooth_device_android.cc b/device/bluetooth/bluetooth_device_android.cc |
index 766bd35bedae96a911486d9caa47ba3b8989b166..d8c724cba43b184dcc408a9dd1ee5d4ce7c0b67f 100644 |
--- a/device/bluetooth/bluetooth_device_android.cc |
+++ b/device/bluetooth/bluetooth_device_android.cc |
@@ -4,7 +4,6 @@ |
#include "device/bluetooth/bluetooth_device_android.h" |
-#include "base/android/context_utils.h" |
#include "base/android/jni_android.h" |
#include "base/android/jni_string.h" |
#include "base/metrics/histogram_macros.h" |
@@ -262,8 +261,8 @@ BluetoothDeviceAndroid::BluetoothDeviceAndroid(BluetoothAdapterAndroid* adapter) |
: BluetoothDevice(adapter) {} |
void BluetoothDeviceAndroid::CreateGattConnectionImpl() { |
- Java_ChromeBluetoothDevice_createGattConnectionImpl( |
- AttachCurrentThread(), j_device_, base::android::GetApplicationContext()); |
+ Java_ChromeBluetoothDevice_createGattConnectionImpl(AttachCurrentThread(), |
+ j_device_); |
} |
void BluetoothDeviceAndroid::DisconnectGatt() { |