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

Unified Diff: components/mus/ws/cursor_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, 6 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
« no previous file with comments | « components/exo/wayland/server.cc ('k') | components/mus/ws/display_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/cursor_unittest.cc
diff --git a/components/mus/ws/cursor_unittest.cc b/components/mus/ws/cursor_unittest.cc
index 93d58bfb11bc74add9402cb68fa7d2ebf6a27fe3..5fcb54dc962e0440e494f6b731c6d06de2e56a4d 100644
--- a/components/mus/ws/cursor_unittest.cc
+++ b/components/mus/ws/cursor_unittest.cc
@@ -93,7 +93,7 @@ class CursorTest : public testing::Test {
WindowManagerState* active_wms = display->GetActiveWindowManagerState();
ASSERT_TRUE(active_wms);
static_cast<PlatformDisplayDelegate*>(display)->OnEvent(ui::PointerEvent(
- ui::MouseEvent(ui::ET_MOUSE_MOVED, p, p, base::TimeDelta(), 0, 0)));
+ ui::MouseEvent(ui::ET_MOUSE_MOVED, p, p, base::TimeTicks(), 0, 0)));
active_wms->OnEventAck(active_wms->tree(), mojom::EventResult::HANDLED);
}
« no previous file with comments | « components/exo/wayland/server.cc ('k') | components/mus/ws/display_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698