cc: Invalidate eviction cache in cases where we remove/add tiles.
commite0b723c4ffc47e8bf4242b8713b74c0005ecd6e8
authorvmpstr <vmpstr@chromium.org>
Sat, 1 Nov 2014 19:45:27 +0000 (1 12:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 1 Nov 2014 19:45:49 +0000 (1 19:45 +0000)
treec0da6fbbe66e4af3df8266d9e050d7d324f20c6b
parent5bab673bb8b4ddfbcc7ef996688d813afbd02ca4
cc: Invalidate eviction cache in cases where we remove/add tiles.

This patch adds more eviction cache invalidations in order to avoid
use after free scenarios. This problem will be fixed by faster eviction
since we won't need the cache, but until that is in place, this is
a necessary fix.

BUG=429201
R=danakj, reveman

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

Cr-Commit-Position: refs/heads/master@{#302393}
cc/resources/picture_layer_tiling.cc
cc/resources/picture_layer_tiling_unittest.cc