Commit 3208e469 authored by Michael Thiessen's avatar Michael Thiessen Committed by Commit Bot

Actually call setPositionsForTab when in VR...

In https://chromium-review.googlesource.com/c/chromium/src/+/1042500 I
missed a commit which added a crucial line :)

TBR=tedchoc@chromium.org

Bug: 837807
Change-Id: Ibc8f4f69e86ba16cfcff223c72b64481d9289549
Reviewed-on: https://chromium-review.googlesource.com/1044754Reviewed-by: default avatarMichael Thiessen <mthiesse@chromium.org>
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556161}
parent eaca580a
......@@ -190,6 +190,7 @@ public class TabBrowserControlsOffsetHelper implements VrModeObserver {
topControlsOffset = -manager.getTopControlsHeight();
bottomControlsOffset = manager.getBottomControlsHeight();
topContentOffset = 0;
manager.setPositionsForTab(topControlsOffset, bottomControlsOffset, topContentOffset);
} else if (toNonFullscreen) {
manager.setPositionsForTabToNonFullscreen();
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment