cc: Don't mark a previous low res as LOW_RESOLUTION during animation.
commitabe7b17c35b46229832373ef3f08c7c121fa2ebc
authorvmpstr <vmpstr@chromium.org>
Wed, 15 Oct 2014 01:04:38 +0000 (14 18:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Oct 2014 01:04:57 +0000 (15 01:04 +0000)
tree048a4c55b339380fce62597fefb424a39591e443
parentefdb69d3b6030758aed2e90cf151e4b5ad7ebe30
cc: Don't mark a previous low res as LOW_RESOLUTION during animation.

This patch ensures that we don't mark the previous low resolution
tiling as a LOW_RESOLUTION tiling, since it really isn't a low res,
it's some other scale.

This is a speculative fix for the listed bug, since if we end up
in a situation where we have a low res at a higher scale than high
res, the eviction iterator crash on iteration of "between low and
high res" stage (The range will be malformed with end < start).

BUG=423240
R=danakj, enne

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

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