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

Unified Diff: Source/core/html/shadow/SliderThumbElement.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/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
« no previous file with comments | « Source/core/html/shadow/ProgressShadowElement.cpp ('k') | Source/core/html/shadow/TextControlInnerElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698