| Index: third_party/WebKit/Source/core/frame/TopControls.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/TopControls.cpp b/third_party/WebKit/Source/core/frame/TopControls.cpp
|
| index d7d3ad90dfcf318d91f96c0cc1e2f5b159f83821..4ebcb0338c02737472a7d15999f89e3df9aa5baa 100644
|
| --- a/third_party/WebKit/Source/core/frame/TopControls.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/TopControls.cpp
|
| @@ -98,11 +98,6 @@ void TopControls::setShownRatio(float shownRatio)
|
| void TopControls::updateConstraints(WebTopControlsState constraints)
|
| {
|
| m_permittedState = constraints;
|
| -
|
| - if (m_permittedState == WebTopControlsShown)
|
| - setShownRatio(1.f);
|
| - else if (m_permittedState == WebTopControlsHidden)
|
| - setShownRatio(0.f);
|
| }
|
|
|
| void TopControls::setHeight(float height, bool shrinkViewport)
|
|
|