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

Unified Diff: ui/events/events_default.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 | « ui/events/event_utils.cc ('k') | ui/events/events_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/events_default.cc
diff --git a/ui/events/events_default.cc b/ui/events/events_default.cc
index 29bb94fb54335a50fe4e05e661108352bb8e1123..98f3ac934b9778a47b18b1ab3946a8986d33f5a9 100644
--- a/ui/events/events_default.cc
+++ b/ui/events/events_default.cc
@@ -8,7 +8,7 @@
namespace ui {
-base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) {
+base::TimeTicks EventTimeFromNative(const base::NativeEvent& native_event) {
const ui::Event* event = static_cast<const ui::Event*>(native_event);
return event->time_stamp();
}
« no previous file with comments | « ui/events/event_utils.cc ('k') | ui/events/events_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698