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

Unified Diff: Source/core/animation/animatable/AnimatableStrokeDasharrayList.cpp

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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/animation/animatable/AnimatableStrokeDasharrayList.cpp
diff --git a/Source/core/animation/animatable/AnimatableStrokeDasharrayList.cpp b/Source/core/animation/animatable/AnimatableStrokeDasharrayList.cpp
index d1e4ccbe06c50d060591195a39c0c8f227efbb90..899677f49e4f62603883f778c2b1555b54d6c811 100644
--- a/Source/core/animation/animatable/AnimatableStrokeDasharrayList.cpp
+++ b/Source/core/animation/animatable/AnimatableStrokeDasharrayList.cpp
@@ -36,20 +36,20 @@
namespace blink {
-AnimatableStrokeDasharrayList::AnimatableStrokeDasharrayList(PassRefPtr<SVGLengthList> passLengths)
+AnimatableStrokeDasharrayList::AnimatableStrokeDasharrayList(PassRefPtrWillBeRawPtr<SVGLengthList> passLengths)
{
- RefPtr<SVGLengthList> lengths = passLengths;
+ RefPtrWillBeRawPtr<SVGLengthList> lengths = passLengths;
SVGLengthList::ConstIterator it = lengths->begin();
SVGLengthList::ConstIterator itEnd = lengths->end();
for (; it != itEnd; ++it)
m_values.append(AnimatableSVGLength::create(*it));
}
-PassRefPtr<SVGLengthList> AnimatableStrokeDasharrayList::toSVGLengthList() const
+PassRefPtrWillBeRawPtr<SVGLengthList> AnimatableStrokeDasharrayList::toSVGLengthList() const
{
- RefPtr<SVGLengthList> lengths = SVGLengthList::create();
+ RefPtrWillBeRawPtr<SVGLengthList> lengths = SVGLengthList::create();
for (size_t i = 0; i < m_values.size(); ++i) {
- RefPtr<SVGLength> length = toAnimatableSVGLength(m_values[i].get())->toSVGLength()->clone();
+ RefPtrWillBeRawPtr<SVGLength> length = toAnimatableSVGLength(m_values[i].get())->toSVGLength()->clone();
if (length->valueInSpecifiedUnits() < 0)
length->setValueInSpecifiedUnits(0);
lengths->append(length);

Powered by Google App Engine
This is Rietveld 408576698