Chromium Code Reviews
DescriptionCall LayoutFullScreen::updateStyle() when exiting Fullscreen
https://codereview.chromium.org/2550703002 changed the definition of
FullscreenController::isFullscreen. Previously, by using
m_fullscreenFrame, it would return true from having entered fullscreen
to having exited fullscreen, i.e. also while exiting. It was changed to
only return true while properly in fullscreen.
This difference turned out to matter, as a call to
LayoutFullScreen::updateStyle() in FullscreenController::updateSize() is
no longer made.
In hangouts.google.com, this broke the layout upon exiting fullscreen.
TEST=https://bugs.chromium.org/p/chromium/issues/detail?id=672804#c21
A regression test for this has proven difficult. With or without the
change, there is a LayoutObject::assertLaidOut() failure upon exiting
fullscreen, which is most likely related to LayoutFullScreen. Yet, it
appears that a non-trivial layout is required to reproduce, which would
require minimizing hangouts.google.com into a test case.
LayoutFullScreen and thus the updateStyle() call is slated for full
removal with top layer (issue 240576) so this does not seem like a good
use of time. Instead, an issue to re-check for failing assertLaidOut()
after top layer has landed was filed: https://crbug.com/685068
BUG=672804
Review-Url: https://codereview.chromium.org/2652763011
Cr-Commit-Position: refs/heads/master@{#446062}
Committed: https://chromium.googlesource.com/chromium/src/+/60d7317f407f575a17410c1a05f52f1ee4941d0c
Patch Set 1 #
Messages
Total messages: 15 (11 generated)
|
|||||||||||||||||||