Index: Source/core/layout/LayoutFullScreen.cpp |
diff --git a/Source/core/layout/LayoutFullScreen.cpp b/Source/core/layout/LayoutFullScreen.cpp |
index c0b3fa82bab3a1572f189ef164ddd6656ce99c7e..f05f0f0d285eb291e86c65a7a230d8aa0e4b16d6 100644 |
--- a/Source/core/layout/LayoutFullScreen.cpp |
+++ b/Source/core/layout/LayoutFullScreen.cpp |
@@ -90,7 +90,7 @@ void LayoutFullScreen::willBeDestroyed() |
void LayoutFullScreen::updateStyle() |
{ |
- RefPtr<LayoutStyle> fullscreenStyle = LayoutStyle::createDefaultStyle(); |
+ RefPtr<LayoutStyle> fullscreenStyle = LayoutStyle::create(); |
// Create a stacking context: |
fullscreenStyle->setZIndex(INT_MAX); |