cc: Ensure a scroll/scale update during commit triggers a layer update
commit670f6abfd4f142d83df7c3ca8dbde7e1bce87c0c
authorskyostil <skyostil@chromium.org>
Fri, 21 Aug 2015 00:34:46 +0000 (20 17:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 21 Aug 2015 00:35:55 +0000 (21 00:35 +0000)
tree5bfe1005950141b3731bad65d8b6ea97420e4cbe
parent07369c32c36de4474454a062dbc4d1fd40408413
cc: Ensure a scroll/scale update during commit triggers a layer update

If we apply a non-zero scroll or page scale update during a commit, we
should also run the layer update stage of the commit process to make
sure the contents of the affected layers are update appropriately.
Previously this would happen automatically since we always updated
layers automatically, but now this needs to be requested explicitly.

TBR=enne@chromium.org
BUG=522195
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Commit-Position: refs/heads/master@{#344628}
cc/test/layer_tree_test.cc
cc/test/layer_tree_test.h
cc/trees/layer_tree_host.cc
cc/trees/layer_tree_host_unittest.cc