| Index: cc/trees/layer_tree_host.cc
|
| diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
|
| index 708318756cfd4c9ee5694ae3748f6305ad1aaf53..4ce71b7bbd48d92a35942ffec7d79168387087b7 100644
|
| --- a/cc/trees/layer_tree_host.cc
|
| +++ b/cc/trees/layer_tree_host.cc
|
| @@ -1051,8 +1051,8 @@ void LayerTreeHost::SetDeviceScaleFactor(float device_scale_factor) {
|
| SetNeedsCommit();
|
| }
|
|
|
| -void LayerTreeHost::UpdateTopControlsState(bool enable_hiding,
|
| - bool enable_showing,
|
| +void LayerTreeHost::UpdateTopControlsState(TopControlsState constraints,
|
| + TopControlsState current,
|
| bool animate) {
|
| if (!settings_.calculate_top_controls_position)
|
| return;
|
| @@ -1061,8 +1061,8 @@ void LayerTreeHost::UpdateTopControlsState(bool enable_hiding,
|
| proxy_->ImplThread()->PostTask(
|
| base::Bind(&TopControlsManager::UpdateTopControlsState,
|
| top_controls_manager_weak_ptr_,
|
| - enable_hiding,
|
| - enable_showing,
|
| + constraints,
|
| + current,
|
| animate));
|
| }
|
|
|
|
|