| Index: cc/scheduler/scheduler.cc
|
| diff --git a/cc/scheduler/scheduler.cc b/cc/scheduler/scheduler.cc
|
| index 68214cd96b762f5ba0c96581f6ba0c0fb00c1a38..1801c802866ee47d2a2b64f09142ea8c50827ed0 100644
|
| --- a/cc/scheduler/scheduler.cc
|
| +++ b/cc/scheduler/scheduler.cc
|
| @@ -734,15 +734,15 @@ void Scheduler::ProcessScheduledActions() {
|
| SetupNextBeginFrameIfNeeded();
|
| }
|
|
|
| -scoped_refptr<base::trace_event::ConvertableToTraceFormat> Scheduler::AsValue()
|
| - const {
|
| +scoped_refptr<base::trace_event::ConvertableToTraceFormat>
|
| +Scheduler::AsValue() {
|
| scoped_refptr<base::trace_event::TracedValue> state =
|
| new base::trace_event::TracedValue();
|
| AsValueInto(state.get());
|
| return state;
|
| }
|
|
|
| -void Scheduler::AsValueInto(base::trace_event::TracedValue* state) const {
|
| +void Scheduler::AsValueInto(base::trace_event::TracedValue* state) {
|
| state->BeginDictionary("state_machine");
|
| state_machine_.AsValueInto(state);
|
| state->EndDictionary();
|
| @@ -809,7 +809,7 @@ void Scheduler::AsValueInto(base::trace_event::TracedValue* state) const {
|
| state->EndDictionary();
|
| }
|
|
|
| -bool Scheduler::CanCommitAndActivateBeforeDeadline() const {
|
| +bool Scheduler::CanCommitAndActivateBeforeDeadline() {
|
| // Check if the main thread computation and commit can be finished before the
|
| // impl thread's deadline.
|
| base::TimeTicks estimated_draw_time =
|
|
|