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

Unified Diff: Source/core/html/shadow/MeterShadowElement.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
Index: Source/core/html/shadow/MeterShadowElement.cpp
diff --git a/Source/core/html/shadow/MeterShadowElement.cpp b/Source/core/html/shadow/MeterShadowElement.cpp
index df0220b810705baf1232b389ebfb9c7eb8eb9028..5c9fca5b3173f3fa7a168e35424b260a0f6aaad1 100644
--- a/Source/core/html/shadow/MeterShadowElement.cpp
+++ b/Source/core/html/shadow/MeterShadowElement.cpp
@@ -81,7 +81,7 @@ bool MeterInnerElement::rendererIsNeeded(const NodeRenderingContext& context)
RenderObject* MeterInnerElement::createRenderer(RenderStyle*)
{
- return new (document()->renderArena()) RenderMeter(this);
+ return new RenderMeter(this);
}
inline MeterBarElement::MeterBarElement(Document* document)
« no previous file with comments | « Source/core/html/shadow/MediaControlElements.cpp ('k') | Source/core/html/shadow/PasswordGeneratorButtonElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698