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

Unified Diff: cc/scheduler/scheduler_state_machine.cc

Issue 387493002: Fixing and enhancing OrderedSimpleTaskRunner to allow 100% deterministic tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lots of changes. Created 6 years, 5 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: cc/scheduler/scheduler_state_machine.cc
diff --git a/cc/scheduler/scheduler_state_machine.cc b/cc/scheduler/scheduler_state_machine.cc
index 7070c7a1e30d92ca2bf8fd4577e7653c1a46153e..155532cde04bdfa0e2fd3ca92f2da601c19af2b9 100644
--- a/cc/scheduler/scheduler_state_machine.cc
+++ b/cc/scheduler/scheduler_state_machine.cc
@@ -163,7 +163,7 @@ scoped_ptr<base::Value> SchedulerStateMachine::AsValue() const {
state->Set("major_state", major_state.release());
scoped_ptr<base::DictionaryValue> timestamps_state(new base::DictionaryValue);
- base::TimeTicks now = gfx::FrameTime::Now();
+ base::TimeTicks now = base::TimeTicks(); // gfx::FrameTime::Now();
brianderson 2014/07/17 05:26:03 Why did this change?
mithro-old 2014/07/17 06:51:58 Opps, this shouldn't be in this commit :)
timestamps_state->SetDouble(
"0_interval", begin_impl_frame_args_.interval.InMicroseconds() / 1000.0L);
timestamps_state->SetDouble(

Powered by Google App Engine
This is Rietveld 408576698