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

Unified Diff: ui/views/widget/desktop_aura/x11_desktop_window_move_client.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/views/widget/desktop_aura/x11_desktop_window_move_client.cc
diff --git a/ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc b/ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc
index c6bcbb3e8e6dffadcf3ddaf7d261460ab0d86200..996982f8363af8dbb4819ee7667a55289e2e3c16 100644
--- a/ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc
+++ b/ui/views/widget/desktop_aura/x11_desktop_window_move_client.cc
@@ -24,10 +24,9 @@ X11DesktopWindowMoveClient::X11DesktopWindowMoveClient()
X11DesktopWindowMoveClient::~X11DesktopWindowMoveClient() {}
-void X11DesktopWindowMoveClient::OnMouseMovement(
- const gfx::Point& screen_point,
- int flags,
- base::TimeDelta event_time) {
+void X11DesktopWindowMoveClient::OnMouseMovement(const gfx::Point& screen_point,
+ int flags,
+ base::TimeTicks event_time) {
gfx::Point system_loc = screen_point - window_offset_;
host_->SetBounds(gfx::Rect(system_loc, host_->GetBounds().size()));
}

Powered by Google App Engine
This is Rietveld 408576698