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

Unified Diff: device/geolocation/location_api_adapter_android.cc

Issue 2237943002: Remove now-unnecessary .obj() in Java method calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch-context
Patch Set: Rebase *again* :( Created 4 years, 4 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/geolocation/location_api_adapter_android.cc
diff --git a/device/geolocation/location_api_adapter_android.cc b/device/geolocation/location_api_adapter_android.cc
index 693fb904cfbca6dd1f178ffa56f8cd71d29b6368..b5fcc54ccfa8c77a15c4cff9f05ca43c6db89a54 100644
--- a/device/geolocation/location_api_adapter_android.cc
+++ b/device/geolocation/location_api_adapter_android.cc
@@ -76,7 +76,7 @@ bool AndroidLocationApiAdapter::Start(
// We'll start receiving notifications from java in the main thread looper
// until Stop() is called.
return Java_LocationProviderAdapter_start(
- env, java_location_provider_android_object_.obj(), high_accuracy);
+ env, java_location_provider_android_object_, high_accuracy);
}
void AndroidLocationApiAdapter::Stop() {
@@ -94,8 +94,8 @@ void AndroidLocationApiAdapter::Stop() {
location_provider_ = NULL;
JNIEnv* env = AttachCurrentThread();
- Java_LocationProviderAdapter_stop(
- env, java_location_provider_android_object_.obj());
+ Java_LocationProviderAdapter_stop(env,
+ java_location_provider_android_object_);
java_location_provider_android_object_.Reset();
}
« no previous file with comments | « device/bluetooth/test/bluetooth_test_android.cc ('k') | device/power_save_blocker/power_save_blocker_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698