Index: Source/core/dom/FullscreenElementStack.cpp |
diff --git a/Source/core/dom/FullscreenElementStack.cpp b/Source/core/dom/FullscreenElementStack.cpp |
index fc56e7b843d258ffafc5a0d53d83aca09f634140..2f72ac811d85fb537842fe0cb8faf66730c4b3fd 100644 |
--- a/Source/core/dom/FullscreenElementStack.cpp |
+++ b/Source/core/dom/FullscreenElementStack.cpp |
@@ -395,7 +395,7 @@ void FullscreenElementStack::webkitWillEnterFullScreenForElement(Element* elemen |
// FIXME: This should not call updateStyleIfNeeded. |
document()->setNeedsStyleRecalc(SubtreeStyleChange); |
- document()->updateStyleIfNeeded(); |
+ document()->updateRenderTreeIfNeeded(); |
} |
void FullscreenElementStack::webkitDidEnterFullScreenForElement(Element*) |