Index: cc/layers/picture_layer_impl.cc |
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc |
index 8dbfeddcb3678952a21b3b7d7df368b5c9c3ca45..49ad601cf1db0b2094f664afbace1fa3a4baa829 100644 |
--- a/cc/layers/picture_layer_impl.cc |
+++ b/cc/layers/picture_layer_impl.cc |
@@ -1617,9 +1617,16 @@ PictureLayerImpl::LayerEvictionTileIterator::operator bool() const { |
bool PictureLayerImpl::LayerEvictionTileIterator::AdvanceToNextCategory() { |
switch (current_category_) { |
case PictureLayerTiling::EVENTUALLY: |
+ current_category_ = |
+ PictureLayerTiling::EVENTUALLY_AND_REQUIRED_FOR_ACTIVATION; |
+ return true; |
+ case PictureLayerTiling::EVENTUALLY_AND_REQUIRED_FOR_ACTIVATION: |
current_category_ = PictureLayerTiling::SOON; |
return true; |
case PictureLayerTiling::SOON: |
+ current_category_ = PictureLayerTiling::SOON_AND_REQUIRED_FOR_ACTIVATION; |
+ return true; |
+ case PictureLayerTiling::SOON_AND_REQUIRED_FOR_ACTIVATION: |
current_category_ = PictureLayerTiling::NOW; |
return true; |
case PictureLayerTiling::NOW: |