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

Unified Diff: ash/drag_drop/drag_drop_controller_unittest.cc

Issue 565583005: Clean up GestureEventDetails constructors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alwasy set oldest_touch_id_ to -1 in the constructor Created 6 years, 3 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: ash/drag_drop/drag_drop_controller_unittest.cc
diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc
index 48ff847d1cbc6c1c5340ace1784120fe845b8874..252b5670ab049682c3abdd8ce104201d1a7bc2a7 100644
--- a/ash/drag_drop/drag_drop_controller_unittest.cc
+++ b/ash/drag_drop/drag_drop_controller_unittest.cc
@@ -273,7 +273,7 @@ void AddViewToWidgetAndResize(views::Widget* widget, views::View* view) {
}
void DispatchGesture(ui::EventType gesture_type, gfx::Point location) {
- ui::GestureEventDetails event_details(gesture_type, 0, 0);
+ ui::GestureEventDetails event_details(gesture_type);
event_details.set_oldest_touch_id(1);
ui::GestureEvent gesture_event(
location.x(), location.y(), 0, ui::EventTimeForNow(), event_details);

Powered by Google App Engine
This is Rietveld 408576698