Chromium Code Reviews| Index: cc/layers/picture_layer_impl.cc |
| diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc |
| index 94c3d201639d0dd90a29545ba18ca067f43edd8a..b7341b784d023ed85bfb874fbb4ccdc39e69d664 100644 |
| --- a/cc/layers/picture_layer_impl.cc |
| +++ b/cc/layers/picture_layer_impl.cc |
| @@ -676,7 +676,8 @@ void PictureLayerImpl::SyncTiling( |
| return; |
| tilings_->AddTiling(tiling->contents_scale()); |
| - if (!layer_tree_impl()->needs_update_draw_properties()) { |
| + if (!layer_tree_impl()->needs_update_draw_properties() && |
| + should_update_tile_priorities_) { |
| // When the tree is up to date, the set of tilings must either be empty or |
|
enne (OOO)
2014/04/28 23:45:28
Can you just move this comment and check into the
boliu
2014/04/28 23:50:39
Done.
|
| // contain at least one high resolution tiling. (If it is up to date, |
| // then it would be invalid to sync a tiling if it is the first tiling |