| 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 ec89ddcfd734a055a9cdc9fa4dd9bc60bc870f99..dfdb11573c739c3e61f6d8d939723786e933b807 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -2633,7 +2633,7 @@ void LayerTreeHostImpl::AnimatePageScale(base::TimeTicks time) {
|
| }
|
|
|
| void LayerTreeHostImpl::AnimateTopControls(base::TimeTicks time) {
|
| - if (!top_controls_manager_)
|
| + if (!top_controls_manager_ || !top_controls_manager_->animation())
|
| return;
|
| gfx::Vector2dF scroll = top_controls_manager_->Animate(time);
|
| if (active_tree_->TotalScrollOffset().y() == 0.f)
|
|
|