Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index 1f180db9e1c1941ee6544dfa9757f0bdf92fe0f2..81690ac74658f28d47d5ff57f1f9007e079b1c6d 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -495,7 +495,7 @@ bool HTMLMediaElement::rendererIsNeeded(const NodeRenderingContext& context) |
RenderObject* HTMLMediaElement::createRenderer(RenderStyle*) |
{ |
- return new (document()->renderArena()) RenderMedia(this); |
+ return new RenderMedia(this); |
} |
bool HTMLMediaElement::childShouldCreateRenderer(const NodeRenderingContext& childContext) const |