Index: Source/core/rendering/RenderFullScreen.cpp |
diff --git a/Source/core/rendering/RenderFullScreen.cpp b/Source/core/rendering/RenderFullScreen.cpp |
index dea4e4541a76eff693cb2ed5c3b93a82872a625e..cb1feb13d6bd15a318676377f0fa103643bb780e 100644 |
--- a/Source/core/rendering/RenderFullScreen.cpp |
+++ b/Source/core/rendering/RenderFullScreen.cpp |
@@ -58,7 +58,7 @@ RenderFullScreen::RenderFullScreen() |
RenderFullScreen* RenderFullScreen::createAnonymous(Document* document) |
{ |
- RenderFullScreen* renderer = new (document->renderArena()) RenderFullScreen(); |
+ RenderFullScreen* renderer = new RenderFullScreen(); |
renderer->setDocumentForAnonymous(document); |
return renderer; |
} |
@@ -178,7 +178,7 @@ void RenderFullScreen::createPlaceholder(PassRefPtr<RenderStyle> style, const La |
style->setHeight(Length(frameRect.height(), Fixed)); |
if (!m_placeholder) { |
- m_placeholder = new (document()->renderArena()) RenderFullScreenPlaceholder(this); |
+ m_placeholder = new RenderFullScreenPlaceholder(this); |
m_placeholder->setStyle(style); |
if (parent()) { |
parent()->addChild(m_placeholder, this); |