diff options
author | mithro <mithro@mithis.com> | 2014-09-17 03:25:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-17 10:25:46 +0000 |
commit | d9168de8b070b473d7c786d2a1744125ef30bd06 (patch) | |
tree | c1cb95d948d5d551ea837e77a98077ba8800bd55 /cc/scheduler/scheduler_state_machine.h | |
parent | 4837a2891189fb7a1df51951f8081e3094fae143 (diff) | |
download | chromium_src-d9168de8b070b473d7c786d2a1744125ef30bd06.zip chromium_src-d9168de8b070b473d7c786d2a1744125ef30bd06.tar.gz chromium_src-d9168de8b070b473d7c786d2a1744125ef30bd06.tar.bz2 |
Adding AsValueInto to scheduler.
Also makes the scheduler state machine output use the scheduler Now() value so
the output is identical on every run during tests.
BUG=380889
Review URL: https://codereview.chromium.org/576013002
Cr-Commit-Position: refs/heads/master@{#295251}
Diffstat (limited to 'cc/scheduler/scheduler_state_machine.h')
-rw-r--r-- | cc/scheduler/scheduler_state_machine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/scheduler/scheduler_state_machine.h b/cc/scheduler/scheduler_state_machine.h index a485627..d5e2bd4 100644 --- a/cc/scheduler/scheduler_state_machine.h +++ b/cc/scheduler/scheduler_state_machine.h @@ -107,7 +107,7 @@ class CC_EXPORT SchedulerStateMachine { static const char* ActionToString(Action action); scoped_refptr<base::debug::ConvertableToTraceFormat> AsValue() const; - void AsValueInto(base::debug::TracedValue* dict) const; + void AsValueInto(base::debug::TracedValue* dict, base::TimeTicks now) const; Action NextAction() const; void UpdateState(Action action); |