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

Unified Diff: content/browser/android/interface_registry_android_impl.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: content/browser/android/interface_registry_android_impl.cc
diff --git a/content/browser/android/interface_registry_android_impl.cc b/content/browser/android/interface_registry_android_impl.cc
index d4c9070bea3bac3b6ec7673bfe288db48ba9284a..a0fcc6e568288c3ed1423a215f0d8659ba765a70 100644
--- a/content/browser/android/interface_registry_android_impl.cc
+++ b/content/browser/android/interface_registry_android_impl.cc
@@ -34,8 +34,8 @@ void CreateImplAndAttach(
mojo::ScopedMessagePipeHandle handle) {
JNIEnv* env = AttachCurrentThread();
Java_InterfaceRegistry_createImplAndAttach(
- env, j_scoped_interface_registry.obj(), handle.release().value(),
- j_scoped_manager.obj(), j_scoped_factory.obj());
+ env, j_scoped_interface_registry, handle.release().value(),
+ j_scoped_manager, j_scoped_factory);
}
} // namespace
@@ -52,7 +52,7 @@ bool InterfaceRegistryAndroidImpl::Register(JNIEnv* env) {
}
InterfaceRegistryAndroidImpl::~InterfaceRegistryAndroidImpl() {
- Java_InterfaceRegistry_destroy(AttachCurrentThread(), obj_.obj());
+ Java_InterfaceRegistry_destroy(AttachCurrentThread(), obj_);
}
// Constructor and destructor call into Java.

Powered by Google App Engine
This is Rietveld 408576698