diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-14 17:58:10 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-14 17:58:10 +0000 |
commit | 2261992d63ac5317dae6fdf9bb66f88115366018 (patch) | |
tree | 8ae198475101c1e10504cd6bc170002678f7204d /cc/scheduler_state_machine.cc | |
parent | 329b68b4cf98ba464f881ae553c0a7f1a4795c6c (diff) | |
download | chromium_src-2261992d63ac5317dae6fdf9bb66f88115366018.zip chromium_src-2261992d63ac5317dae6fdf9bb66f88115366018.tar.gz chromium_src-2261992d63ac5317dae6fdf9bb66f88115366018.tar.bz2 |
cc: remove jank instead of checkerboard setting
This was merely a prototyping setting. It turns out (surprise!) that nobody
likes jank, so we can get rid of this.
R=danakj@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/11377111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167697 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/scheduler_state_machine.cc')
-rw-r--r-- | cc/scheduler_state_machine.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/scheduler_state_machine.cc b/cc/scheduler_state_machine.cc index f70d1ad..256bbe0 100644 --- a/cc/scheduler_state_machine.cc +++ b/cc/scheduler_state_machine.cc @@ -269,7 +269,7 @@ void SchedulerStateMachine::didDrawIfPossibleCompleted(bool success) m_needsRedraw = true; m_needsCommit = true; m_consecutiveFailedDraws++; - if (!Settings::jankInsteadOfCheckerboard() && m_consecutiveFailedDraws >= m_maximumNumberOfFailedDrawsBeforeDrawIsForced) { + if (m_consecutiveFailedDraws >= m_maximumNumberOfFailedDrawsBeforeDrawIsForced) { m_consecutiveFailedDraws = 0; // We need to force a draw, but it doesn't make sense to do this until // we've committed and have new textures. |