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

Unified Diff: chrome/browser/ui/android/infobars/confirm_infobar.cc

Issue 67573003: Android: moves chrome/ to use long for JNI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
Index: chrome/browser/ui/android/infobars/confirm_infobar.cc
diff --git a/chrome/browser/ui/android/infobars/confirm_infobar.cc b/chrome/browser/ui/android/infobars/confirm_infobar.cc
index a4919e51af3df8d3f7059a7b962dfa661f5acecc..702f99023bb3f88df614699367266066a3b6b898 100644
--- a/chrome/browser/ui/android/infobars/confirm_infobar.cc
+++ b/chrome/browser/ui/android/infobars/confirm_infobar.cc
@@ -48,7 +48,7 @@ base::android::ScopedJavaLocalRef<jobject> ConfirmInfoBar::CreateRenderInfoBar(
env, delegate_->GetLinkText());
return Java_ConfirmInfoBarDelegate_showConfirmInfoBar(
- env, java_confirm_delegate_.obj(), reinterpret_cast<jint>(this),
+ env, java_confirm_delegate_.obj(), reinterpret_cast<intptr_t>(this),
GetEnumeratedIconId(), message_text.obj(), link_text.obj(),
ok_button_text.obj(), cancel_button_text.obj());
}

Powered by Google App Engine
This is Rietveld 408576698