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

Unified Diff: device/bluetooth/android/wrappers.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/android/wrappers.cc
diff --git a/device/bluetooth/android/wrappers.cc b/device/bluetooth/android/wrappers.cc
index 4ad3bc2e9a797c85fe0ce79195e3c4d442d676c5..5a93f74532a32be18aab3c633eb38e4f415852c9 100644
--- a/device/bluetooth/android/wrappers.cc
+++ b/device/bluetooth/android/wrappers.cc
@@ -4,7 +4,6 @@
#include "device/bluetooth/android/wrappers.h"
-#include "base/android/context_utils.h"
#include "base/android/jni_android.h"
#include "jni/Wrappers_jni.h"
@@ -15,7 +14,7 @@ namespace device {
ScopedJavaLocalRef<jobject> BluetoothAdapterWrapper_CreateWithDefaultAdapter() {
return Java_BluetoothAdapterWrapper_createWithDefaultAdapter(
- AttachCurrentThread(), base::android::GetApplicationContext());
+ AttachCurrentThread());
}
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698