DescriptionMac: Fix profile button overlaps fullscreen button on new windows.
This was recently broken by https://codereview.chromium.org/476313003/.
The problem is that when opening a new window, the fullscreen button was not
enabled yet by the time we layout the profile button.
We need to call layoutSubviews after the fullscreen button is enabled because
the avatar button's position depends on it. But with the old avatar button,
we need to call layoutSubviews first because the fullscreen button's position
depends on it.
BUG=412018
Committed: https://crrev.com/b17510ab973cb1bebe259155b52ba65b2dc8c0fd
Cr-Commit-Position: refs/heads/master@{#294450}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|