| Index: third_party/WebKit/Source/core/animation/LengthBoxStyleInterpolation.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/LengthBoxStyleInterpolation.cpp b/third_party/WebKit/Source/core/animation/LengthBoxStyleInterpolation.cpp
|
| index 6db5bf9af2845faef19cab1e47af9e63178a2021..a77dd4851f2d04f7a76a353fec155a022099f88f 100644
|
| --- a/third_party/WebKit/Source/core/animation/LengthBoxStyleInterpolation.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/LengthBoxStyleInterpolation.cpp
|
| @@ -70,7 +70,7 @@ bool LengthBoxStyleInterpolation::usesDefaultInterpolation(const CSSValue& start
|
|
|
| namespace {
|
|
|
| -PassRefPtrWillBeRawPtr<CSSPrimitiveValue> indexedValueToLength(InterpolableList& lengthBox, size_t i, CSSPrimitiveValue* start[], CSSPrimitiveValue* end[])
|
| +RawPtr<CSSPrimitiveValue> indexedValueToLength(InterpolableList& lengthBox, size_t i, CSSPrimitiveValue* start[], CSSPrimitiveValue* end[])
|
| {
|
| if (lengthBox.get(i)->isBool()) {
|
| if (toInterpolableBool(lengthBox.get(i))->value())
|
| @@ -82,7 +82,7 @@ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> indexedValueToLength(InterpolableList&
|
|
|
| } // namespace
|
|
|
| -PassRefPtrWillBeRawPtr<CSSValue> LengthBoxStyleInterpolation::interpolableValueToLengthBox(InterpolableValue* value, const CSSValue& originalStart, const CSSValue& originalEnd)
|
| +RawPtr<CSSValue> LengthBoxStyleInterpolation::interpolableValueToLengthBox(InterpolableValue* value, const CSSValue& originalStart, const CSSValue& originalEnd)
|
| {
|
| InterpolableList* lengthBox = toInterpolableList(value);
|
| const CSSQuadValue& startRect = toCSSQuadValue(originalStart);
|
| @@ -90,10 +90,10 @@ PassRefPtrWillBeRawPtr<CSSValue> LengthBoxStyleInterpolation::interpolableValueT
|
| CSSPrimitiveValue* startSides[4] = { startRect.left(), startRect.right(), startRect.top(), startRect.bottom() };
|
| CSSPrimitiveValue* endSides[4] = { endRect.left(), endRect.right(), endRect.top(), endRect.bottom() };
|
|
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> left = indexedValueToLength(*lengthBox, 0, startSides, endSides);
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> right = indexedValueToLength(*lengthBox, 1, startSides, endSides);
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> top = indexedValueToLength(*lengthBox, 2, startSides, endSides);
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> bottom = indexedValueToLength(*lengthBox, 3, startSides, endSides);
|
| + RawPtr<CSSPrimitiveValue> left = indexedValueToLength(*lengthBox, 0, startSides, endSides);
|
| + RawPtr<CSSPrimitiveValue> right = indexedValueToLength(*lengthBox, 1, startSides, endSides);
|
| + RawPtr<CSSPrimitiveValue> top = indexedValueToLength(*lengthBox, 2, startSides, endSides);
|
| + RawPtr<CSSPrimitiveValue> bottom = indexedValueToLength(*lengthBox, 3, startSides, endSides);
|
|
|
| return CSSQuadValue::create(top.release(), right.release(), bottom.release(), left.release(), CSSQuadValue::SerializeAsRect);
|
| }
|
|
|