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

Unified Diff: chrome/browser/history/android/sqlite_cursor.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/history/android/sqlite_cursor.cc
diff --git a/chrome/browser/history/android/sqlite_cursor.cc b/chrome/browser/history/android/sqlite_cursor.cc
index 4bf584acd889f6630cb0261bae547dac0be91994..36cc882bac773b7305c2792d366951f2a49bf878 100644
--- a/chrome/browser/history/android/sqlite_cursor.cc
+++ b/chrome/browser/history/android/sqlite_cursor.cc
@@ -55,7 +55,7 @@ ScopedJavaLocalRef<jobject> SQLiteCursor::NewJavaSqliteCursor(
FaviconService* favicon_service) {
SQLiteCursor* cursor = new SQLiteCursor(column_names, statement, service,
favicon_service);
- return Java_SQLiteCursor_create(env, reinterpret_cast<jint>(cursor));
+ return Java_SQLiteCursor_create(env, reinterpret_cast<intptr_t>(cursor));
}
bool SQLiteCursor::RegisterSqliteCursor(JNIEnv* env) {

Powered by Google App Engine
This is Rietveld 408576698