Index: Source/core/html/shadow/SliderThumbElement.cpp |
diff --git a/Source/core/html/shadow/SliderThumbElement.cpp b/Source/core/html/shadow/SliderThumbElement.cpp |
index 24d35eb86d5a03d83ffa0fcf6ffc24140248a10f..e444df4c459305f6def767a20c32db57a2cd9385 100644 |
--- a/Source/core/html/shadow/SliderThumbElement.cpp |
+++ b/Source/core/html/shadow/SliderThumbElement.cpp |
@@ -221,7 +221,7 @@ void SliderThumbElement::setPositionFromValue() |
RenderObject* SliderThumbElement::createRenderer(RenderStyle*) |
{ |
- return new (document()->renderArena()) RenderSliderThumb(this); |
+ return new RenderSliderThumb(this); |
} |
bool SliderThumbElement::isDisabledFormControl() const |
@@ -449,7 +449,7 @@ PassRefPtr<SliderContainerElement> SliderContainerElement::create(Document* docu |
RenderObject* SliderContainerElement::createRenderer(RenderStyle*) |
{ |
- return new (document()->renderArena()) RenderSliderContainer(this); |
+ return new RenderSliderContainer(this); |
} |
const AtomicString& SliderContainerElement::shadowPseudoId() const |