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 31ed95d83448772f1aca99bc073e6c442692eb69..b7d6c70e16e80342f0e6c689206465d70954c447 100644 |
--- a/third_party/WebKit/Source/core/dom/Fullscreen.cpp |
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.cpp |
@@ -447,8 +447,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(); |