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

Unified Diff: content/browser/android/tracing_controller_android.cc

Issue 59673007: Android: moves content/ 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: content/browser/android/tracing_controller_android.cc
diff --git a/content/browser/android/tracing_controller_android.cc b/content/browser/android/tracing_controller_android.cc
index cfa540daff5ad7c10d6db78dfca5bba55dfb8054..42d147e821d6842a3b5cda028148a3df1a0879f6 100644
--- a/content/browser/android/tracing_controller_android.cc
+++ b/content/browser/android/tracing_controller_android.cc
@@ -16,9 +16,9 @@
namespace content {
-static jint Init(JNIEnv* env, jobject obj) {
+static jlong Init(JNIEnv* env, jobject obj) {
TracingControllerAndroid* profiler = new TracingControllerAndroid(env, obj);
- return reinterpret_cast<jint>(profiler);
+ return reinterpret_cast<intptr_t>(profiler);
}
class TracingControllerAndroid::Subscriber

Powered by Google App Engine
This is Rietveld 408576698