Revert of cc: Trigger BeginImplFrameDeadline immediately when invisible. (patchset...
commitfe201d68f97d395c920fe173ccdb9189936acc76
authortommycli <tommycli@chromium.org>
Thu, 2 Apr 2015 18:51:51 +0000 (2 11:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Apr 2015 18:53:14 +0000 (2 18:53 +0000)
treed720f42192c63d40a9f159ed160fc3bc72af773a
parent9a99965adab379a5965484a59334a80bc576e49e
Revert of cc: Trigger BeginImplFrameDeadline immediately when invisible. (patchset #1 id:1 of https://codereview.chromium.org/1051123002/)

Reason for revert:
Speculative revert to fix persistent WebViewTest.Shim_TestAutosizeWithPartialAttributes breakage.

See http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests/builds/22760

Original issue's description:
> cc: Trigger BeginImplFrameDeadline immediately when invisible.
>
> When becoming invisible we are going to abort any pending draw / activate. We
> should do that right now rather then waking up sometime in the future and doing
> it. This increases the speed at which we become idle after going invisible.
>
> A minor side effect is we will do more work if we become invisible and then
> visible within a single frame, but this case is extremely unlikely while the
> case compared to becoming invisible for a longer period.
>
> Related to http://crrev.com/1050833002
>
> BUG=371747
> R=brianderson,jdduke

TBR=brianderson@chromium.org,jdduke@chromium.org,mithro@mithis.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=371747

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

Cr-Commit-Position: refs/heads/master@{#323545}
cc/scheduler/scheduler_state_machine.cc
cc/scheduler/scheduler_state_machine_unittest.cc