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

Unified Diff: components/mus/common/event_param_traits.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: components/mus/common/event_param_traits.cc
diff --git a/components/mus/common/event_param_traits.cc b/components/mus/common/event_param_traits.cc
index 5e59d4fa39e1cbf0698b8613139647bdd6013275..00d21e2f3a132f6a594037008b538f7e80935200 100644
--- a/components/mus/common/event_param_traits.cc
+++ b/components/mus/common/event_param_traits.cc
@@ -44,7 +44,7 @@ namespace IPC {
// implementation).
#define EVENT_IMPL(ReturnType, methodName, implName, defaultCase, ...) \
ReturnType ParamTraits<ui::ScopedEvent>::methodName( \
- ui::EventType type, base::TimeDelta time_stamp, int flags, \
+ ui::EventType type, base::TimeTicks time_stamp, int flags, \
##__VA_ARGS__) { \
switch (type) { \
case ui::EventType::ET_MOUSE_PRESSED: \
@@ -203,7 +203,7 @@ bool ParamTraits<ui::ScopedEvent>::Read(const base::Pickle* m,
ui::EventType type;
std::string name;
- base::TimeDelta time_stamp;
+ base::TimeTicks time_stamp;
int flags;
ui::EventPhase phase;
ui::EventResult result;

Powered by Google App Engine
This is Rietveld 408576698