cc: Fix high/low res scale collisions
commitf4401a54cc6ea79bf067b62eb941c311e613b601
authorenne <enne@chromium.org>
Mon, 6 Jul 2015 20:08:33 +0000 (6 13:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 6 Jul 2015 20:09:16 +0000 (6 20:09 +0000)
tree8f25d72e0738a264b671cc253b33b1382dbe4f20
parent37b6496d61cad2916367a02ccc4074d9dc42ec1b
cc: Fix high/low res scale collisions

If a tree doesn't support low res, but it turns out that a pre-existing
tiling just happens to be at the low res scale, it will treat it as low
res.  Since the pending tree only cleans up non-ideal scales, this low
res tiling sticks around and causes asserts.

R=vmpstr@chromium.org,danakj@chromium.org
BUG=469176
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Commit-Position: refs/heads/master@{#337458}
cc/layers/picture_layer_impl.cc
cc/layers/picture_layer_impl_unittest.cc