| Index: cc/resources/picture_layer_tiling.h
|
| diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h
|
| index daa04851d9c22f8759e283d5fd0d9d048b3f22bb..dd625e4228b9febb05f9a23c5ac33b13ef2e6590 100644
|
| --- a/cc/resources/picture_layer_tiling.h
|
| +++ b/cc/resources/picture_layer_tiling.h
|
| @@ -62,15 +62,6 @@ class CC_EXPORT PictureLayerTiling {
|
| public:
|
| static const int kBorderTexels = 1;
|
|
|
| - enum EvictionCategory {
|
| - EVENTUALLY,
|
| - EVENTUALLY_AND_REQUIRED_FOR_ACTIVATION,
|
| - SOON,
|
| - SOON_AND_REQUIRED_FOR_ACTIVATION,
|
| - NOW,
|
| - NOW_AND_REQUIRED_FOR_ACTIVATION
|
| - };
|
| -
|
| class CC_EXPORT TilingRasterTileIterator {
|
| public:
|
| TilingRasterTileIterator();
|
| @@ -303,10 +294,6 @@ class CC_EXPORT PictureLayerTiling {
|
| const gfx::Rect& visible_rect_in_content_space)
|
| const;
|
|
|
| - void UpdateEvictionCacheIfNeeded(TreePriority tree_priority);
|
| - const std::vector<Tile*>* GetEvictionTiles(TreePriority tree_priority,
|
| - EvictionCategory category);
|
| -
|
| void Invalidate(const Region& layer_region);
|
|
|
| void DoInvalidate(const Region& layer_region,
|
| @@ -347,19 +334,6 @@ class CC_EXPORT PictureLayerTiling {
|
|
|
| Occlusion current_occlusion_in_layer_space_;
|
|
|
| - // TODO(reveman): Remove this in favour of an array of eviction_tiles_ when we
|
| - // change all enums to have a consistent way of getting the count/last
|
| - // element.
|
| - std::vector<Tile*> eviction_tiles_now_;
|
| - std::vector<Tile*> eviction_tiles_now_and_required_for_activation_;
|
| - std::vector<Tile*> eviction_tiles_soon_;
|
| - std::vector<Tile*> eviction_tiles_soon_and_required_for_activation_;
|
| - std::vector<Tile*> eviction_tiles_eventually_;
|
| - std::vector<Tile*> eviction_tiles_eventually_and_required_for_activation_;
|
| -
|
| - bool eviction_tiles_cache_valid_;
|
| - TreePriority eviction_cache_tree_priority_;
|
| -
|
| private:
|
| DISALLOW_ASSIGN(PictureLayerTiling);
|
|
|
|
|