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 bd4cda9a7616dadc8899a26cef5aa7f347ccdcca..c973d6643fd2e615ca356396624f8f55c40ab04d 100644 |
--- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp |
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp |
@@ -448,8 +448,8 @@ void Fullscreen::didEnterFullScreenForElement(Element* element) |
document()->styleEngine().ensureFullscreenUAStyle(); |
m_fullScreenElement->pseudoStateChanged(CSSSelector::PseudoFullScreen); |
- // FIXME: This should not call updateLayoutTree. |
- document()->updateLayoutTree(); |
+ // FIXME: This should not call updateStyleAndLayoutTree. |
+ document()->updateStyleAndLayoutTree(); |
m_fullScreenElement->didBecomeFullscreenElement(); |