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

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

Issue 20231002: Replace RenderArena with PartitionAlloc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 5 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
« no previous file with comments | « Source/core/rendering/RenderFlexibleBox.cpp ('k') | Source/core/rendering/RenderImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/rendering/RenderFlexibleBox.cpp ('k') | Source/core/rendering/RenderImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698