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); |
} |