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

Unified Diff: Source/core/html/HTMLVideoElement.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/html/HTMLVideoElement.cpp
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp
index de51bcffcafac023a197770410e5f906d85d5236..bdbfea4e6a1673e532371f60605f5687e454a210 100644
--- a/Source/core/html/HTMLVideoElement.cpp
+++ b/Source/core/html/HTMLVideoElement.cpp
@@ -64,9 +64,9 @@ bool HTMLVideoElement::rendererIsNeeded(const NodeRenderingContext& context)
return HTMLElement::rendererIsNeeded(context);
}
-RenderObject* HTMLVideoElement::createRenderer(RenderArena* arena, RenderStyle*)
+RenderObject* HTMLVideoElement::createRenderer(RenderStyle*)
{
- return new (arena) RenderVideo(this);
+ return new RenderVideo(this);
}
void HTMLVideoElement::attach(const AttachContext& context)

Powered by Google App Engine
This is Rietveld 408576698