diff options
Diffstat (limited to 'chrome/browser/sync/profile_sync_service_android.cc')
-rw-r--r-- | chrome/browser/sync/profile_sync_service_android.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sync/profile_sync_service_android.cc b/chrome/browser/sync/profile_sync_service_android.cc index 0ab68f2..b1f82f7 100644 --- a/chrome/browser/sync/profile_sync_service_android.cc +++ b/chrome/browser/sync/profile_sync_service_android.cc @@ -501,11 +501,11 @@ ProfileSyncServiceAndroid* AttachCurrentThread(), base::android::GetApplicationContext())); } -static int Init(JNIEnv* env, jobject obj) { +static jlong Init(JNIEnv* env, jobject obj) { ProfileSyncServiceAndroid* profile_sync_service_android = new ProfileSyncServiceAndroid(env, obj); profile_sync_service_android->Init(); - return reinterpret_cast<jint>(profile_sync_service_android); + return reinterpret_cast<intptr_t>(profile_sync_service_android); } // static |