Index: chrome/browser/android/new_tab_page_prefs.cc |
diff --git a/chrome/browser/android/new_tab_page_prefs.cc b/chrome/browser/android/new_tab_page_prefs.cc |
index 0bb054d95ac48d80cd1c555a309ed6c0c7042ffb..d22d6fb46f294b4564ba9d9e9c16da0ebc5c30ad 100644 |
--- a/chrome/browser/android/new_tab_page_prefs.cc |
+++ b/chrome/browser/android/new_tab_page_prefs.cc |
@@ -16,7 +16,9 @@ |
using base::android::ConvertJavaStringToUTF8; |
-static jlong Init(JNIEnv* env, jclass clazz, jobject profile) { |
+static jlong Init(JNIEnv* env, |
+ const JavaParamRef<jclass>& clazz, |
+ const JavaParamRef<jobject>& profile) { |
NewTabPagePrefs* new_tab_page_prefs = |
new NewTabPagePrefs(ProfileAndroid::FromProfileAndroid(profile)); |
return reinterpret_cast<intptr_t>(new_tab_page_prefs); |