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

Unified Diff: content/browser/renderer_host/input/synthetic_pinch_gesture.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_pinch_gesture.cc
diff --git a/content/browser/renderer_host/input/synthetic_pinch_gesture.cc b/content/browser/renderer_host/input/synthetic_pinch_gesture.cc
index d49024b09a196efd49a4afe085dcbda5a6a5d5c7..a461268b7cfcb1bf0ce669cd4d143f16d66bb6b7 100644
--- a/content/browser/renderer_host/input/synthetic_pinch_gesture.cc
+++ b/content/browser/renderer_host/input/synthetic_pinch_gesture.cc
@@ -7,7 +7,6 @@
#include <cmath>
#include "base/logging.h"
-#include "content/common/input/input_event.h"
#include "ui/events/latency_info.h"
namespace content {
@@ -111,8 +110,7 @@ void SyntheticPinchGesture::ReleaseTouchPoints(
void SyntheticPinchGesture::ForwardTouchEvent(
SyntheticGestureTarget* target, const base::TimeTicks& timestamp) {
touch_event_.timeStampSeconds = ConvertTimestampToSeconds(timestamp);
- target->DispatchInputEventToPlatform(
- InputEvent(touch_event_, ui::LatencyInfo(), false));
+ target->DispatchInputEventToPlatform(touch_event_);
}
void SyntheticPinchGesture::SetupCoordinatesAndStopTime(

Powered by Google App Engine
This is Rietveld 408576698