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

Unified Diff: third_party/WebKit/Source/core/dom/Fullscreen.cpp

Issue 1823143002: Ensure fullscreen.css loaded for ancestor invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-ordered iframe and script in test Created 4 years, 9 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 | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Fullscreen.cpp
diff --git a/third_party/WebKit/Source/core/dom/Fullscreen.cpp b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
index cb84770f198adbe74c48b17a624ba320dfb7e417..5ccffd8145dd2ad39133b2a29690afc93b3f7e83 100644
--- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
@@ -456,7 +456,6 @@ void Fullscreen::didEnterFullScreenForElement(Element* element)
LayoutFullScreen::wrapLayoutObject(layoutObject, layoutObject ? layoutObject->parent() : 0, document());
m_fullScreenElement->setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(true);
-
document()->styleEngine().ensureFullscreenUAStyle();
m_fullScreenElement->pseudoStateChanged(CSSSelector::PseudoFullScreen);
@@ -486,6 +485,7 @@ void Fullscreen::didExitFullScreenForElement(Element*)
if (m_fullScreenLayoutObject)
LayoutFullScreenItem(m_fullScreenLayoutObject).unwrapLayoutObject();
+ document()->styleEngine().ensureFullscreenUAStyle();
m_fullScreenElement->pseudoStateChanged(CSSSelector::PseudoFullScreen);
m_fullScreenElement = nullptr;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698