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

Unified Diff: chrome/browser/android/feature_utilities.cc

Issue 1312153003: jni_generator: Pass object parameters as JavaParamRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
« no previous file with comments | « chrome/browser/android/favicon_helper.cc ('k') | chrome/browser/android/feedback/connectivity_checker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/feature_utilities.cc
diff --git a/chrome/browser/android/feature_utilities.cc b/chrome/browser/android/feature_utilities.cc
index 4757d7e44e33a102cc1659ac9d52d2bdb4549ff8..23111c678d8a819788aecff9e007fa7b2c1cbbcb 100644
--- a/chrome/browser/android/feature_utilities.cc
+++ b/chrome/browser/android/feature_utilities.cc
@@ -27,15 +27,14 @@ CustomTabsVisibilityHistogram GetCustomTabsVisibleValue() {
} // namespace android
} // namespace chrome
-
static void SetDocumentModeEnabled(JNIEnv* env,
- jclass clazz,
+ const JavaParamRef<jclass>& clazz,
jboolean enabled) {
document_mode_enabled = enabled;
}
static void SetCustomTabVisible(JNIEnv* env,
- jclass clazz,
+ const JavaParamRef<jclass>& clazz,
jboolean visible) {
custom_tab_visible = visible;
}
« no previous file with comments | « chrome/browser/android/favicon_helper.cc ('k') | chrome/browser/android/feedback/connectivity_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698