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

Unified Diff: ui/events/blink/input_handler_proxy.cc

Issue 2943883002: Revert of [VSync Queue] Plug touch ack to gesture events and flush vsync queue if necessary (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « ui/events/blink/blink_event_util.cc ('k') | ui/events/gesture_detection/filtered_gesture_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/input_handler_proxy.cc
diff --git a/ui/events/blink/input_handler_proxy.cc b/ui/events/blink/input_handler_proxy.cc
index 17cd8fd882173b3c80316d26dbee039390d227e4..6ff1983d7139c16be4b7604726a8c80db40dea7f 100644
--- a/ui/events/blink/input_handler_proxy.cc
+++ b/ui/events/blink/input_handler_proxy.cc
@@ -323,17 +323,6 @@
}
if (has_ongoing_compositor_scroll_fling_pinch_) {
- const auto& gesture_event = ToWebGestureEvent(event_with_callback->event());
- if (gesture_event.source_device == blink::kWebGestureDeviceTouchscreen &&
- gesture_event.is_source_touch_event_set_non_blocking) {
- // Dispatch immediately to avoid regression in
- // |smoothness.tough_scrolling_cases:first_gesture_scroll_update_latency|.
- compositor_event_queue_->Queue(std::move(event_with_callback),
- tick_clock_->NowTicks());
- DispatchQueuedInputEvents();
- return;
- }
-
bool needs_animate_input = compositor_event_queue_->empty();
compositor_event_queue_->Queue(std::move(event_with_callback),
tick_clock_->NowTicks());
« no previous file with comments | « ui/events/blink/blink_event_util.cc ('k') | ui/events/gesture_detection/filtered_gesture_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698