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

Unified Diff: third_party/WebKit/Source/web/FullscreenController.cpp

Issue 2652763011: Call LayoutFullScreen::updateStyle() when exiting Fullscreen (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/FullscreenController.cpp
diff --git a/third_party/WebKit/Source/web/FullscreenController.cpp b/third_party/WebKit/Source/web/FullscreenController.cpp
index bc592d27f0e00ab04bc54a074dbd36fb46d3addd..747077621cd99166e3f6da59c53d3e4941b35481 100644
--- a/third_party/WebKit/Source/web/FullscreenController.cpp
+++ b/third_party/WebKit/Source/web/FullscreenController.cpp
@@ -219,7 +219,7 @@ void FullscreenController::fullscreenElementChanged(Element* fromElement,
void FullscreenController::updateSize() {
DCHECK(m_webViewImpl->page());
- if (m_state != State::Fullscreen)
+ if (m_state != State::Fullscreen && m_state != State::ExitingFullscreen)
return;
updatePageScaleConstraints(false);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698