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

Unified Diff: cc/scheduler/scheduler.h

Issue 222003007: cc: Advance commit state with a CancelableClosure (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedAsValue
Patch Set: use default settings Created 6 years, 9 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
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index b69fba9ade61f028ae2a4181ecf3ce4a939e7dc0..b6814e9c2fb700a41b630c0434749b63b66f3a70 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -113,6 +113,7 @@ class CC_EXPORT Scheduler {
void BeginImplFrame(const BeginFrameArgs& args);
void OnBeginImplFrameDeadline();
void PollForAnticipatedDrawTriggers();
+ void PollToAdvanceCommitState();
scoped_ptr<base::Value> StateAsValue() const;
@@ -154,7 +155,7 @@ class CC_EXPORT Scheduler {
BeginFrameArgs last_begin_impl_frame_args_;
base::CancelableClosure begin_impl_frame_deadline_closure_;
base::CancelableClosure poll_for_draw_triggers_closure_;
- base::RepeatingTimer<Scheduler> advance_commit_state_timer_;
+ base::CancelableClosure advance_commit_state_closure_;
SchedulerStateMachine state_machine_;
bool inside_process_scheduled_actions_;
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698