Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1532)

Unified Diff: device/bluetooth/bluetooth_device_android.cc

Issue 2847523002: Android: Remove GetApplicationContext part 4 (Closed)
Patch Set: Rebase and fix build Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {
« no previous file with comments | « device/bluetooth/android/wrappers.cc ('k') | device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698