Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Issue 2652763011: Call LayoutFullScreen::updateStyle() when exiting Fullscreen (Closed)

Created:
3 years, 11 months ago by foolip
Modified:
3 years, 11 months ago
Reviewers:
esprehn, eae
CC:
chromium-reviews, blink-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Call 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/web/FullscreenController.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (11 generated)
foolip
PTAL. This is is M57 regression and I'd like to do a merge request. I've ...
3 years, 11 months ago (2017-01-25 08:57:34 UTC) #7
eae
OK, LGTM
3 years, 11 months ago (2017-01-25 17:20:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2652763011/1
3 years, 11 months ago (2017-01-25 18:26:16 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 18:31:49 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/60d7317f407f575a17410c1a05f5...

Powered by Google App Engine
This is Rietveld 408576698