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

Unified Diff: Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp

Issue 1303173007: Oilpan: Unship Oilpan from CSSValues 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/SVGStrokeDasharrayStyleInterpolation.cpp
diff --git a/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp b/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp
index ffb4822c9f0c4f9d61343d26f8463ef58039106b..11de851788f180b7db1af4fa7cb4c5a7efd3fc0c 100644
--- a/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp
+++ b/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp
@@ -25,11 +25,11 @@ bool isNone(const CSSValue& value)
} // namespace
-PassRefPtrWillBeRawPtr<CSSValueList> SVGStrokeDasharrayStyleInterpolation::interpolableValueToStrokeDasharray(const InterpolableValue& interpolableValue)
+PassRefPtr<CSSValueList> SVGStrokeDasharrayStyleInterpolation::interpolableValueToStrokeDasharray(const InterpolableValue& interpolableValue)
{
const InterpolableList& interpolableList = toInterpolableList(interpolableValue);
- RefPtrWillBeRawPtr<CSSValueList> ret = CSSValueList::createCommaSeparated();
+ RefPtr<CSSValueList> ret = CSSValueList::createCommaSeparated();
for (size_t index = 0; index < interpolableList.length(); ++index)
ret->append(LengthStyleInterpolation::fromInterpolableValue(*interpolableList.get(index), RangeNonNegative));
return ret.release();
@@ -53,7 +53,7 @@ PassRefPtrWillBeRawPtr<SVGStrokeDasharrayStyleInterpolation> SVGStrokeDasharrayS
if (!canCreateFrom(start) || !canCreateFrom(end))
return nullptr;
- RefPtrWillBeRawPtr<CSSValueList> singleZero = CSSValueList::createCommaSeparated();
+ RefPtr<CSSValueList> singleZero = CSSValueList::createCommaSeparated();
singleZero->append(CSSPrimitiveValue::create(0, CSSPrimitiveValue::UnitType::Pixels));
const CSSValueList& valueListStart = start.isValueList() ? toCSSValueList(start) : *singleZero;

Powered by Google App Engine
This is Rietveld 408576698