Index: Source/core/dom/Fullscreen.cpp |
diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp |
index 3e50b8c9e708925adb764dba88cc22b00175fb55..645d34429e535476ac881ec4e0e52d0ae8736ba2 100644 |
--- a/Source/core/dom/Fullscreen.cpp |
+++ b/Source/core/dom/Fullscreen.cpp |
@@ -434,7 +434,7 @@ void Fullscreen::didEnterFullScreenForElement(Element* element) |
bool shouldCreatePlaceholder = renderer && renderer->isBox(); |
if (shouldCreatePlaceholder) { |
m_savedPlaceholderFrameRect = toLayoutBox(renderer)->frameRect(); |
- m_savedPlaceholderLayoutStyle = LayoutStyle::clone(renderer->styleRef()); |
+ m_savedPlaceholderComputedStyle = ComputedStyle::clone(renderer->styleRef()); |
} |
if (m_fullScreenElement != document()->documentElement()) |
@@ -490,11 +490,11 @@ void Fullscreen::setFullScreenRenderer(LayoutFullScreen* renderer) |
if (renderer == m_fullScreenRenderer) |
return; |
- if (renderer && m_savedPlaceholderLayoutStyle) { |
- renderer->createPlaceholder(m_savedPlaceholderLayoutStyle.release(), m_savedPlaceholderFrameRect); |
+ if (renderer && m_savedPlaceholderComputedStyle) { |
+ renderer->createPlaceholder(m_savedPlaceholderComputedStyle.release(), m_savedPlaceholderFrameRect); |
} else if (renderer && m_fullScreenRenderer && m_fullScreenRenderer->placeholder()) { |
LayoutBlock* placeholder = m_fullScreenRenderer->placeholder(); |
- renderer->createPlaceholder(LayoutStyle::clone(placeholder->styleRef()), placeholder->frameRect()); |
+ renderer->createPlaceholder(ComputedStyle::clone(placeholder->styleRef()), placeholder->frameRect()); |
} |
if (m_fullScreenRenderer) |