Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: Source/core/rendering/RenderFullScreen.cpp

Issue 16896019: Replace RenderArena with PartitionAlloc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698