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

Unified Diff: Source/core/animation/ListSVGInterpolation.h

Issue 1305383006: Oilpan: Unship CSSValues and AnimatableValues Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/animation/ListSVGInterpolation.h
diff --git a/Source/core/animation/ListSVGInterpolation.h b/Source/core/animation/ListSVGInterpolation.h
index ad22950462a201bca6a4abb91b9a0b7651ff8b9b..17e1be65f309ea3dfcf3b5467c891b9a36158fbf 100644
--- a/Source/core/animation/ListSVGInterpolation.h
+++ b/Source/core/animation/ListSVGInterpolation.h
@@ -35,8 +35,8 @@ public:
}
Vector<NonInterpolableType> nonInterpolableData(length);
- OwnPtrWillBeRawPtr<InterpolableList> startValue = InterpolableList::create(length);
- OwnPtrWillBeRawPtr<InterpolableList> endValue = InterpolableList::create(length);
+ OwnPtr<InterpolableList> startValue = InterpolableList::create(length);
+ OwnPtr<InterpolableList> endValue = InterpolableList::create(length);
for (size_t i = 0; i < length; i++) {
startValue->set(i, InterpolationType::toInterpolableValue(startList->at(i), attribute.get(), &nonInterpolableData.at(i)));
endValue->set(i, InterpolationType::toInterpolableValue(endList->at(i), attribute.get(), nullptr));
@@ -46,7 +46,7 @@ public:
}
private:
- ListSVGInterpolationImpl(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute, Vector<NonInterpolableType> nonInterpolableData)
+ ListSVGInterpolationImpl(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute, Vector<NonInterpolableType> nonInterpolableData)
: SVGInterpolation(start, end, attribute)
{
m_nonInterpolableData.swap(nonInterpolableData);
@@ -93,15 +93,15 @@ public:
}
private:
- ListSVGInterpolationImpl(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
+ ListSVGInterpolationImpl(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
: SVGInterpolation(start, end, attribute)
{
}
- static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(ListType* listValue)
+ static PassOwnPtr<InterpolableValue> toInterpolableValue(ListType* listValue)
{
size_t length = listValue->length();
- OwnPtrWillBeRawPtr<InterpolableList> result = InterpolableList::create(length);
+ OwnPtr<InterpolableList> result = InterpolableList::create(length);
for (size_t i = 0; i < length; i++)
result->set(i, InterpolationType::toInterpolableValue(listValue->at(i)));
return result.release();
« no previous file with comments | « Source/core/animation/LengthStyleInterpolationTest.cpp ('k') | Source/core/animation/ListStyleInterpolation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698