Index: Source/core/html/shadow/TextControlInnerElements.cpp |
diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp |
index 366b7dfc7f6c0e645ce6e57f3802976bc2490b1f..367c9bda3add8ef50700762a53623269054bd1a2 100644 |
--- a/Source/core/html/shadow/TextControlInnerElements.cpp |
+++ b/Source/core/html/shadow/TextControlInnerElements.cpp |
@@ -59,7 +59,7 @@ PassRefPtr<TextControlInnerContainer> TextControlInnerContainer::create(Document |
RenderObject* TextControlInnerContainer::createRenderer(RenderStyle*) |
{ |
- return new (document()->renderArena()) RenderTextControlInnerContainer(this); |
+ return new RenderTextControlInnerContainer(this); |
} |
TextControlInnerElement::TextControlInnerElement(Document* document) |
@@ -113,7 +113,7 @@ void TextControlInnerTextElement::defaultEventHandler(Event* event) |
RenderObject* TextControlInnerTextElement::createRenderer(RenderStyle*) |
{ |
- return new (document()->renderArena()) RenderTextControlInnerBlock(this); |
+ return new RenderTextControlInnerBlock(this); |
} |
PassRefPtr<RenderStyle> TextControlInnerTextElement::customStyleForRenderer() |