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

Unified Diff: content/renderer/render_widget_unittest.cc

Issue 2471523002: Make touch events uncancelable during fling when they are on the current active scroll layer (Closed)
Patch Set: clean up code Created 4 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/renderer/render_widget_unittest.cc
diff --git a/content/renderer/render_widget_unittest.cc b/content/renderer/render_widget_unittest.cc
index 007e0b5c9a65caded726f89b323d13ae23d9f622..e9efceed095d9e8b4c9810567107e3ce03870686 100644
--- a/content/renderer/render_widget_unittest.cc
+++ b/content/renderer/render_widget_unittest.cc
@@ -350,7 +350,6 @@ TEST_F(RenderWidgetUnittest, TouchDuringOrOutsideFlingUmaMetrics) {
SyntheticWebTouchEvent touch;
touch.PressPoint(10, 10);
touch.dispatchType = blink::WebInputEvent::DispatchType::Blocking;
- touch.dispatchedDuringFling = false;
touch.touchStartOrFirstTouchMove = true;
widget()->SendInputEvent(touch);
histogram_tester().ExpectTotalCount("Event.Touch.TouchLatencyOutsideFling",

Powered by Google App Engine
This is Rietveld 408576698