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

Unified Diff: chrome/browser/android/dom_distiller/distiller_ui_handle_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: chrome/browser/android/dom_distiller/distiller_ui_handle_android.cc
diff --git a/chrome/browser/android/dom_distiller/distiller_ui_handle_android.cc b/chrome/browser/android/dom_distiller/distiller_ui_handle_android.cc
index bf4c357ba6644b7c0c6952daff9cd9073f284cfb..494ef52c7e1a0f3d947099242162414b5cc07d41 100644
--- a/chrome/browser/android/dom_distiller/distiller_ui_handle_android.cc
+++ b/chrome/browser/android/dom_distiller/distiller_ui_handle_android.cc
@@ -31,7 +31,7 @@ void DistillerUIHandleAndroid::ReportExternalFeedback(
env, url_utils::GetOriginalUrlFromDistillerUrl(url).spec());
Java_DomDistillerUIUtils_reportFeedbackWithWebContents(
- env, web_contents->GetJavaWebContents().obj(), jurl.obj(), good);
+ env, web_contents->GetJavaWebContents(), jurl, good);
}
// static
@@ -39,7 +39,7 @@ void DistillerUIHandleAndroid::OpenSettings(
content::WebContents* web_contents) {
JNIEnv* env = base::android::AttachCurrentThread();
Java_DomDistillerUIUtils_openSettings(env,
- web_contents->GetJavaWebContents().obj());
+ web_contents->GetJavaWebContents());
}
// static

Powered by Google App Engine
This is Rietveld 408576698