cc: Push layer properties after tree/host properties during commit.
commitf70c1d3366c0f3f037fbcad998e3b05d90677073
authordanakj <danakj@chromium.org>
Wed, 10 Dec 2014 23:19:51 +0000 (10 15:19 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Dec 2014 23:20:16 +0000 (10 23:20 +0000)
tree533fd2e0a999617f696b9df41cbe9dc6e210446d
parentcecf6e14ec375cb66e2816d67a574270dbc7705b
cc: Push layer properties after tree/host properties during commit.

PictureLayer push properties will update tilings and maybe cause it
to choose a new tile size. If the viewport size is not pushed at that
time, it will choose the wrong tile size with GPU rasterization (where
tile sizes are based on the viewport size).

This test passes before/after this patch, but will fail with the
don't-swap-tilings patch without the changes in this CL.

BUG=387116

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

Cr-Commit-Position: refs/heads/master@{#307786}
cc/layers/layer_impl.cc
cc/trees/layer_tree_host.cc
cc/trees/layer_tree_host_unittest.cc
cc/trees/layer_tree_host_unittest_picture.cc