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 3af5bce3b328fba96c0bd0a67ceb0bf6998223a2..d2b578bd2e202791fe7074d4b1ef0c7d201a997e 100644 |
--- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp |
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp |
@@ -596,7 +596,7 @@ void Fullscreen::didEnterFullscreenForElement(Element* element) { |
m_currentFullScreenElement |
->setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(true); |
- document()->styleEngine().ensureFullscreenUAStyle(); |
+ document()->styleEngine().ensureUAStyleForFullscreen(); |
m_currentFullScreenElement->pseudoStateChanged(CSSSelector::PseudoFullScreen); |
// FIXME: This should not call updateStyleAndLayoutTree. |
@@ -628,7 +628,7 @@ void Fullscreen::didExitFullscreen() { |
if (m_fullScreenLayoutObject) |
LayoutFullScreenItem(m_fullScreenLayoutObject).unwrapLayoutObject(); |
- document()->styleEngine().ensureFullscreenUAStyle(); |
+ document()->styleEngine().ensureUAStyleForFullscreen(); |
m_currentFullScreenElement->pseudoStateChanged(CSSSelector::PseudoFullScreen); |
m_currentFullScreenElement = nullptr; |