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

Unified Diff: content/browser/device_orientation/data_fetcher_impl_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/device_orientation/data_fetcher_impl_android.cc
diff --git a/content/browser/device_orientation/data_fetcher_impl_android.cc b/content/browser/device_orientation/data_fetcher_impl_android.cc
index 0e69c9391ca1d348cb87c285cf4d485347482bfb..230507ee440e0f53bba5077cc6f48401412e2d1b 100644
--- a/content/browser/device_orientation/data_fetcher_impl_android.cc
+++ b/content/browser/device_orientation/data_fetcher_impl_android.cc
@@ -128,7 +128,7 @@ bool DataFetcherImplAndroid::Start(DeviceData::Type event_type) {
DCHECK(!device_orientation_.is_null());
return Java_DeviceMotionAndOrientation_start(
AttachCurrentThread(), device_orientation_.obj(),
- reinterpret_cast<jint>(this), static_cast<jint>(event_type),
+ reinterpret_cast<intptr_t>(this), static_cast<jint>(event_type),
kInertialSensorIntervalMillis);
}

Powered by Google App Engine
This is Rietveld 408576698