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

Unified Diff: components/scheduler/child/idle_helper.h

Issue 1424703003: Kills TraceTicks, which was functionally the same as TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed win compile error. Created 5 years, 1 month 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 | « cc/scheduler/begin_frame_tracker.cc ('k') | components/scheduler/child/idle_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/child/idle_helper.h
diff --git a/components/scheduler/child/idle_helper.h b/components/scheduler/child/idle_helper.h
index 37ef636d23effe18a57820ef346960a9527a5915..5b673804d2065f5cb601ca401dea3c9bbf37ef9f 100644
--- a/components/scheduler/child/idle_helper.h
+++ b/components/scheduler/child/idle_helper.h
@@ -150,8 +150,8 @@ class SCHEDULER_EXPORT IdleHelper
private:
void TraceEventIdlePeriodStateChange(IdlePeriodState new_state,
bool new_running_idle_task,
- base::TraceTicks new_deadline,
- base::TraceTicks optional_now);
+ base::TimeTicks new_deadline,
+ base::TimeTicks optional_now);
SchedulerHelper* helper_; // NOT OWNED
Delegate* delegate_; // NOT OWNED
@@ -159,8 +159,7 @@ class SCHEDULER_EXPORT IdleHelper
IdlePeriodState idle_period_state_;
base::TimeTicks idle_period_deadline_;
- base::TraceTicks idle_period_deadline_for_tracing_;
- base::TraceTicks last_idle_task_trace_time_;
+ base::TimeTicks last_idle_task_trace_time_;
bool idle_period_trace_event_started_;
bool running_idle_task_for_tracing_;
const char* tracing_category_;
« no previous file with comments | « cc/scheduler/begin_frame_tracker.cc ('k') | components/scheduler/child/idle_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698