| Index: cc/input/top_controls_manager.cc
|
| diff --git a/cc/input/top_controls_manager.cc b/cc/input/top_controls_manager.cc
|
| index 9e3d9b1f1fb6948767ecaf8fcc79d37d655e83e6..90ebdc661cd6db273710ac6a0afd8bd175fdd6f1 100644
|
| --- a/cc/input/top_controls_manager.cc
|
| +++ b/cc/input/top_controls_manager.cc
|
| @@ -96,8 +96,10 @@ void TopControlsManager::UpdateTopControlsState(TopControlsState constraints,
|
| float final_shown_ratio = 1.f;
|
| if (constraints == HIDDEN || current == HIDDEN)
|
| final_shown_ratio = 0.f;
|
| - if (final_shown_ratio == TopControlsShownRatio())
|
| + if (final_shown_ratio == TopControlsShownRatio()) {
|
| + ResetAnimations();
|
| return;
|
| + }
|
|
|
| if (animate) {
|
| SetupAnimation(final_shown_ratio ? SHOWING_CONTROLS : HIDING_CONTROLS);
|
|
|