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

Unified Diff: ui/wm/core/capture_controller_unittest.cc

Issue 1975533002: Change ui::Event::time_stamp from TimeDelta to TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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: ui/wm/core/capture_controller_unittest.cc
diff --git a/ui/wm/core/capture_controller_unittest.cc b/ui/wm/core/capture_controller_unittest.cc
index 9fce8afe5c50dbcb5a6d6354d247237fa9022e80..6268e0a0bcd2493c082adda901bd052217412bdf 100644
--- a/ui/wm/core/capture_controller_unittest.cc
+++ b/ui/wm/core/capture_controller_unittest.cc
@@ -274,7 +274,7 @@ TEST_F(CaptureControllerTest, GestureResetWithCapture) {
// Send a mouse click. We no longer hold capture so this should not crash.
ui::MouseEvent mouse_press(ui::ET_MOUSE_PRESSED, gfx::Point(), gfx::Point(),
- base::TimeDelta(), 0, 0);
+ base::TimeTicks(), 0, 0);
DispatchEventUsingWindowDispatcher(&mouse_press);
}

Powered by Google App Engine
This is Rietveld 408576698