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

Unified Diff: components/mus/common/event_param_traits.h

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.h
diff --git a/components/mus/common/event_param_traits.h b/components/mus/common/event_param_traits.h
index c7702d9e7137caad0f5338e3b1038b8e9e0aa932..5ed87596bb52d0a3ff721ed7af5592ba752a61b0 100644
--- a/components/mus/common/event_param_traits.h
+++ b/components/mus/common/event_param_traits.h
@@ -43,23 +43,23 @@ struct MUS_COMMON_EXPORT ParamTraits<ui::ScopedEvent> {
static void Log(const param_type& p, std::string* l);
static void SizeEvent(ui::EventType type,
- base::TimeDelta time_stamp,
+ base::TimeTicks time_stamp,
int flags,
base::PickleSizer* s,
const ui::ScopedEvent& p);
static void WriteEvent(ui::EventType type,
- base::TimeDelta time_stamp,
+ base::TimeTicks time_stamp,
int flags,
base::Pickle* m,
const ui::ScopedEvent& p);
static bool ReadEvent(ui::EventType type,
- base::TimeDelta time_stamp,
+ base::TimeTicks time_stamp,
int flags,
const base::Pickle* m,
base::PickleIterator* iter,
ui::ScopedEvent* p);
static void LogEvent(ui::EventType type,
- base::TimeDelta time_stamp,
+ base::TimeTicks time_stamp,
int flags,
const ui::ScopedEvent& p,
std::string* l);

Powered by Google App Engine
This is Rietveld 408576698