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

Unified Diff: android_webview/native/aw_gl_functor.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: android_webview/native/aw_gl_functor.cc
diff --git a/android_webview/native/aw_gl_functor.cc b/android_webview/native/aw_gl_functor.cc
index 2a92546eb83c4b583407d4c7e2f265f55bf7af79..b9470f3fff55b4ce92b3f3b0805aa38393b6169d 100644
--- a/android_webview/native/aw_gl_functor.cc
+++ b/android_webview/native/aw_gl_functor.cc
@@ -51,7 +51,7 @@ bool AwGLFunctor::RequestInvokeGL(bool wait_for_completion) {
ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
if (obj.is_null())
return false;
- return Java_AwGLFunctor_requestInvokeGL(env, obj.obj(), wait_for_completion);
+ return Java_AwGLFunctor_requestInvokeGL(env, obj, wait_for_completion);
}
void AwGLFunctor::DetachFunctorFromView() {
@@ -59,7 +59,7 @@ void AwGLFunctor::DetachFunctorFromView() {
JNIEnv* env = AttachCurrentThread();
ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
if (!obj.is_null())
- Java_AwGLFunctor_detachFunctorFromView(env, obj.obj());
+ Java_AwGLFunctor_detachFunctorFromView(env, obj);
}
void AwGLFunctor::Destroy(JNIEnv* env,
« no previous file with comments | « android_webview/native/aw_contents_io_thread_client_impl.cc ('k') | android_webview/native/aw_http_auth_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698