Chromium Code Reviews| Index: cc/trees/layer_tree_host_impl.cc |
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
| index 5546ea33d36ce5773120089d2538164aaec607e9..a2fc09b9a9c69bbff5f0624f609382b047e5586c 100644 |
| --- a/cc/trees/layer_tree_host_impl.cc |
| +++ b/cc/trees/layer_tree_host_impl.cc |
| @@ -2468,6 +2468,13 @@ void LayerTreeHostImpl::SetTreePriority(TreePriority priority) { |
| new_state.tree_priority = priority; |
| tile_manager_->SetGlobalState(new_state); |
| manage_tiles_needed_ = true; |
| + |
| + // We may have blocked activation entirely while in smoothness |
| + // mode due to not prioritizing pending tree tiles. When transitioning |
| + // out of smoothness mode, this is here to insure we do call manage-tiles |
| + // again (to insure reprioritize and activate). |
| + if (priority != SMOOTHNESS_TAKES_PRIORITY) |
|
reveman
2013/09/03 19:03:21
We need this to trigger a call to ManageTiles() ev
|
| + client_->SetNeedsRedrawOnImplThread(); |
|
enne (OOO)
2013/09/03 19:11:13
Sorry, but I don't follow this. If we're missing
epenner
2013/09/03 19:27:53
The current problem case is a double-tap zoom anim
|
| } |
| void LayerTreeHostImpl::ResetCurrentFrameTimeForNextFrame() { |