| Index: chrome/browser/android/bookmarks/bookmarks_bridge.cc
|
| diff --git a/chrome/browser/android/bookmarks/bookmarks_bridge.cc b/chrome/browser/android/bookmarks/bookmarks_bridge.cc
|
| index 663ddc3c6a607cb26e7dc600e65a8e9cf0a53f6b..db7145acd88cb64712eb3b8a2f95cbbfc5a97920 100644
|
| --- a/chrome/browser/android/bookmarks/bookmarks_bridge.cc
|
| +++ b/chrome/browser/android/bookmarks/bookmarks_bridge.cc
|
| @@ -134,13 +134,16 @@ bool BookmarksBridge::RegisterBookmarksBridge(JNIEnv* env) {
|
| return RegisterNativesImpl(env);
|
| }
|
|
|
| -static jlong Init(JNIEnv* env, jobject obj, jobject j_profile) {
|
| +static jlong Init(JNIEnv* env,
|
| + const JavaParamRef<jobject>& obj,
|
| + const JavaParamRef<jobject>& j_profile) {
|
| BookmarksBridge* delegate = new BookmarksBridge(env, obj, j_profile);
|
| return reinterpret_cast<intptr_t>(delegate);
|
| }
|
|
|
| -static jboolean IsEnhancedBookmarksFeatureEnabled(JNIEnv* env,
|
| - jclass clazz) {
|
| +static jboolean IsEnhancedBookmarksFeatureEnabled(
|
| + JNIEnv* env,
|
| + const JavaParamRef<jclass>& clazz) {
|
| return enhanced_bookmarks::IsEnhancedBookmarksEnabled();
|
| }
|
|
|
|
|