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

Unified Diff: Source/core/html/shadow/SliderThumbElement.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/shadow/SliderThumbElement.cpp
diff --git a/Source/core/html/shadow/SliderThumbElement.cpp b/Source/core/html/shadow/SliderThumbElement.cpp
index f3124cd6bb2722911e9abbc6c5095234cccb5269..85fbe1970660f4d84e54f63e01cb0d30e2053c53 100644
--- a/Source/core/html/shadow/SliderThumbElement.cpp
+++ b/Source/core/html/shadow/SliderThumbElement.cpp
@@ -220,9 +220,9 @@ void SliderThumbElement::setPositionFromValue()
renderer()->setNeedsLayout(true);
}
-RenderObject* SliderThumbElement::createRenderer(RenderArena* arena, RenderStyle*)
+RenderObject* SliderThumbElement::createRenderer(RenderStyle*)
{
- return new (arena) RenderSliderThumb(this);
+ return new RenderSliderThumb(this);
}
bool SliderThumbElement::isDisabledFormControl() const
@@ -448,9 +448,9 @@ PassRefPtr<SliderContainerElement> SliderContainerElement::create(Document* docu
return adoptRef(new SliderContainerElement(document));
}
-RenderObject* SliderContainerElement::createRenderer(RenderArena* arena, RenderStyle*)
+RenderObject* SliderContainerElement::createRenderer(RenderStyle*)
{
- return new (arena) RenderSliderContainer(this);
+ return new RenderSliderContainer(this);
}
const AtomicString& SliderContainerElement::shadowPseudoId() const

Powered by Google App Engine
This is Rietveld 408576698