[cc] cleanup: remove useless comments in UpdateStateOnActivation()

BUG=None
TEST=None, no functional changes.
R=brianderson@chromium.org

Review URL: https://codereview.chromium.org/167053004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252203 0039d316-1c4b-4281-b951-d872f2087c98
parent c30087a9
......@@ -724,15 +724,12 @@ void SchedulerStateMachine::UpdateStateOnCommit(bool commit_was_aborted) {
}
void SchedulerStateMachine::UpdateStateOnActivation() {
// Update output surface state.
if (output_surface_state_ == OUTPUT_SURFACE_WAITING_FOR_FIRST_ACTIVATION)
output_surface_state_ = OUTPUT_SURFACE_ACTIVE;
// Update readback state
if (forced_redraw_state_ == FORCED_REDRAW_STATE_WAITING_FOR_ACTIVATION)
forced_redraw_state_ = FORCED_REDRAW_STATE_WAITING_FOR_DRAW;
// Update forced redraw state
if (readback_state_ == READBACK_STATE_WAITING_FOR_ACTIVATION)
readback_state_ = READBACK_STATE_WAITING_FOR_DRAW_AND_READBACK;
else if (readback_state_ == READBACK_STATE_WAITING_FOR_REPLACEMENT_ACTIVATION)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment