Index: Source/core/rendering/RenderFullScreen.cpp |
diff --git a/Source/core/rendering/RenderFullScreen.cpp b/Source/core/rendering/RenderFullScreen.cpp |
index 56150c911d5e3664453d63e8e98dee78d2628d5a..cb5544e9434e207e7f23d9237cfc1a4f09b8c580 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); |