| Index: cc/layer_tree_host_impl.cc
|
| diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
|
| index f314eabe9342e5f2e0f627a1226a624f95301aa9..371c0fd94f2b13c7eeef1ca16556452a6e738fc6 100644
|
| --- a/cc/layer_tree_host_impl.cc
|
| +++ b/cc/layer_tree_host_impl.cc
|
| @@ -287,6 +287,12 @@ void LayerTreeHostImpl::startPageScaleAnimation(gfx::Vector2d targetOffset, bool
|
| m_client->setNeedsCommitOnImplThread();
|
| }
|
|
|
| +void LayerTreeHostImpl::programmaticScroll(gfx::Vector2d targetOffset)
|
| +{
|
| + if (m_topControlsManager)
|
| + m_topControlsManager->ProgrammaticScroll(targetOffset);
|
| +}
|
| +
|
| void LayerTreeHostImpl::scheduleAnimation()
|
| {
|
| m_client->setNeedsRedrawOnImplThread();
|
| @@ -337,8 +343,6 @@ void LayerTreeHostImpl::updateDrawProperties()
|
| return;
|
| }
|
|
|
| - if (m_topControlsManager)
|
| - m_topControlsManager->UpdateDrawPositions();
|
| activeTree()->UpdateDrawProperties();
|
| if (pendingTree())
|
| pendingTree()->UpdateDrawProperties();
|
|
|