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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture_target_android.cc

Issue 134123003: Generate proper LatencyInfo components for synthetic gestures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove InputEvent forward decl Created 6 years, 11 months 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/renderer_host/input/synthetic_gesture_target_android.cc
diff --git a/content/browser/renderer_host/input/synthetic_gesture_target_android.cc b/content/browser/renderer_host/input/synthetic_gesture_target_android.cc
index 6139f67635c181e98663643aec69fd9350d1aa7a..752e7b2db262d7a8822dfcc5a20d46c41dc02202 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_target_android.cc
+++ b/content/browser/renderer_host/input/synthetic_gesture_target_android.cc
@@ -37,7 +37,7 @@ void SyntheticGestureTargetAndroid::TouchSetPointer(
}
void SyntheticGestureTargetAndroid::TouchInject(
- JNIEnv* env, Action action, int pointer_count, long time_in_ms) {
+ JNIEnv* env, Action action, int pointer_count, int64 time_in_ms) {
Java_TouchEventSynthesizer_inject(env, touch_event_synthesizer_.obj(),
static_cast<int>(action), pointer_count,
time_in_ms);
@@ -72,7 +72,7 @@ void SyntheticGestureTargetAndroid::DispatchWebTouchEventToPlatform(
}
TouchInject(env, action, num_touches,
- static_cast<long>(web_touch.timeStampSeconds * 1000.0));
+ static_cast<int64>(web_touch.timeStampSeconds * 1000.0));
}
SyntheticGestureParams::GestureSourceType

Powered by Google App Engine
This is Rietveld 408576698