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

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

Issue 1913833002: Current work-in-progress crbug.com/567021 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More assert fixes Created 4 years, 7 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
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 5172640245769b75e36dd61427d98aeac4b42836..b4af86fbcab67b4aee5bbb2fd2a67fd13905cafd 100644
--- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp
@@ -446,7 +446,7 @@ void Fullscreen::didEnterFullScreenForElement(Element* element, bool isAncestorO
m_fullScreenElement->setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(true);
- document()->styleEngine().ensureFullscreenUAStyle();
+ document()->styleEngine().ensureUAStyleForFullscreen();
m_fullScreenElement->pseudoStateChanged(CSSSelector::PseudoFullScreen);
// FIXME: This should not call updateStyleAndLayoutTree.
@@ -478,7 +478,7 @@ void Fullscreen::didExitFullScreenForElement(bool isAncestorOfFullscreenElement)
if (m_fullScreenLayoutObject)
LayoutFullScreenItem(m_fullScreenLayoutObject).unwrapLayoutObject();
- document()->styleEngine().ensureFullscreenUAStyle();
+ document()->styleEngine().ensureUAStyleForFullscreen();
m_fullScreenElement->pseudoStateChanged(CSSSelector::PseudoFullScreen);
m_fullScreenElement = nullptr;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698