Index: ui/views/corewm/desktop_capture_controller_unittest.cc |
diff --git a/ui/views/corewm/desktop_capture_controller_unittest.cc b/ui/views/corewm/desktop_capture_controller_unittest.cc |
index 64b5b56b0823804cb49e5bf757e5d93450337161..6df8667421c352bdee2ab593ee43891763264c71 100644 |
--- a/ui/views/corewm/desktop_capture_controller_unittest.cc |
+++ b/ui/views/corewm/desktop_capture_controller_unittest.cc |
@@ -168,10 +168,7 @@ TEST_F(DesktopCaptureControllerTest, CaptureWindowInputEventTest) { |
EXPECT_FALSE(widget2->GetNativeView()->HasCapture()); |
EXPECT_EQ(capture_client->GetCaptureWindow(), widget1->GetNativeView()); |
- ui::GestureEvent g1(80, |
- 80, |
- 0, |
- base::TimeDelta(), |
+ ui::GestureEvent g1(80, 80, 0, base::TimeTicks(), |
ui::GestureEventDetails(ui::ET_GESTURE_LONG_PRESS)); |
details = root1->OnEventFromSource(&g1); |
EXPECT_FALSE(details.dispatcher_destroyed); |