| Index: cc/TiledLayerChromium.cpp
|
| diff --git a/cc/TiledLayerChromium.cpp b/cc/TiledLayerChromium.cpp
|
| index 75bd57d9b6f960ef46ba3c3e29123e8516b29b55..4a28e8a8124c2e8ca8ca11412d16331630d629c6 100644
|
| --- a/cc/TiledLayerChromium.cpp
|
| +++ b/cc/TiledLayerChromium.cpp
|
| @@ -215,13 +215,20 @@ void TiledLayerChromium::pushPropertiesTo(CCLayerImpl* layer)
|
| // FIXME: This should not ever be null.
|
| if (!tile)
|
| continue;
|
| +
|
| tile->isInUseOnImpl = false;
|
| +
|
| if (!tile->managedTexture()->haveBackingTexture()) {
|
| + // Evicted tiles get deleted from both layers
|
| invalidTiles.append(tile);
|
| continue;
|
| }
|
| - if (!tile->validForFrame)
|
| +
|
| + if (!tile->validForFrame) {
|
| + // Invalidated tiles are set so they can get different debug colors.
|
| + tiledLayer->pushInvalidTile(i, j);
|
| continue;
|
| + }
|
|
|
| tiledLayer->pushTileProperties(i, j, tile->managedTexture()->resourceId(), tile->opaqueRect());
|
| tile->isInUseOnImpl = true;
|
|
|