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

Unified Diff: ui/views/mus/native_widget_mus_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: merge master 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/views/mus/native_widget_mus_unittest.cc
diff --git a/ui/views/mus/native_widget_mus_unittest.cc b/ui/views/mus/native_widget_mus_unittest.cc
index 53f9338ed07a43a59f9bef8da44da03cd0c4e074..e322e87673d2608e77b9e3d47e932b7d601e11f6 100644
--- a/ui/views/mus/native_widget_mus_unittest.cc
+++ b/ui/views/mus/native_widget_mus_unittest.cc
@@ -172,7 +172,7 @@ class NativeWidgetMusTest : public ViewsTestBase {
std::unique_ptr<ui::MouseEvent> CreateMouseEvent() {
return base::WrapUnique(new ui::MouseEvent(
ui::ET_MOUSE_PRESSED, gfx::Point(50, 50), gfx::Point(50, 50),
- base::TimeDelta(), ui::EF_LEFT_MOUSE_BUTTON, ui::EF_LEFT_MOUSE_BUTTON));
+ base::TimeTicks(), ui::EF_LEFT_MOUSE_BUTTON, ui::EF_LEFT_MOUSE_BUTTON));
}
// Simulates an input event to the NativeWidget.

Powered by Google App Engine
This is Rietveld 408576698