| Index: chrome/browser/android/most_visited_sites.cc
|
| diff --git a/chrome/browser/android/most_visited_sites.cc b/chrome/browser/android/most_visited_sites.cc
|
| index 6c82bb37490e409e41c46c32c966f9b2640be105..72733008c0f002c5f60635eeab19ebf028f4c220 100644
|
| --- a/chrome/browser/android/most_visited_sites.cc
|
| +++ b/chrome/browser/android/most_visited_sites.cc
|
| @@ -571,7 +571,9 @@ void MostVisitedSites::TopSitesChanged(history::TopSites* top_sites,
|
| }
|
| }
|
|
|
| -static jlong Init(JNIEnv* env, jobject obj, jobject jprofile) {
|
| +static jlong Init(JNIEnv* env,
|
| + const JavaParamRef<jobject>& obj,
|
| + const JavaParamRef<jobject>& jprofile) {
|
| MostVisitedSites* most_visited_sites =
|
| new MostVisitedSites(ProfileAndroid::FromProfileAndroid(jprofile));
|
| return reinterpret_cast<intptr_t>(most_visited_sites);
|
|
|