Index: cc/scheduler/scheduler_state_machine.h |
diff --git a/cc/scheduler/scheduler_state_machine.h b/cc/scheduler/scheduler_state_machine.h |
index 17fdf988ee38fd7a0e95e74dcc4edbd0048e120c..0e012df7cec0716e9ec8542bffb6a24caab12860 100644 |
--- a/cc/scheduler/scheduler_state_machine.h |
+++ b/cc/scheduler/scheduler_state_machine.h |
@@ -126,11 +126,13 @@ class CC_EXPORT SchedulerStateMachine { |
void WillSendBeginMainFrame(); |
void WillCommit(bool commit_had_no_updates); |
void WillActivate(); |
- void WillDraw(bool did_request_swap); |
+ void WillDraw(); |
void WillBeginOutputSurfaceCreation(); |
void WillPrepareTiles(); |
void WillInvalidateOutputSurface(); |
+ void DidDraw(bool did_request_swap, DrawResult draw_result); |
+ |
// Indicates whether the impl thread needs a BeginImplFrame callback in order |
// to make progress. |
bool BeginFrameNeeded() const; |
@@ -198,9 +200,6 @@ class CC_EXPORT SchedulerStateMachine { |
return impl_latency_takes_priority_; |
} |
- // Indicates whether ACTION_DRAW_AND_SWAP_IF_POSSIBLE drew to the screen. |
- void DidDrawIfPossibleCompleted(DrawResult result); |
- |
// Indicates that a new begin main frame flow needs to be performed, either |
// to pull updates from the main thread to the impl, or to push deltas from |
// the impl thread to main. |