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 f6ddd4cfc109b60e79bec01e20632b3cb94f011c..5bbddc57ed7a63f5af57b0da5c5eac6e4547a6cb 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(); |