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

Unified Diff: third_party/WebKit/Source/core/animation/DoubleStyleInterpolation.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/core/animation/DoubleStyleInterpolation.cpp
diff --git a/third_party/WebKit/Source/core/animation/DoubleStyleInterpolation.cpp b/third_party/WebKit/Source/core/animation/DoubleStyleInterpolation.cpp
index d9360517d3426fc1c16bb286658210d0c405ff30..62fc7b5e81fb2f3338d5a99b4c31102571e704a0 100644
--- a/third_party/WebKit/Source/core/animation/DoubleStyleInterpolation.cpp
+++ b/third_party/WebKit/Source/core/animation/DoubleStyleInterpolation.cpp
@@ -53,7 +53,7 @@ static double clampToRange(double value, InterpolationRange clamp)
}
}
-PassRefPtrWillBeRawPtr<CSSValue> DoubleStyleInterpolation::interpolableValueToDouble(const InterpolableValue* value, bool isNumber, InterpolationRange clamp)
+RawPtr<CSSValue> DoubleStyleInterpolation::interpolableValueToDouble(const InterpolableValue* value, bool isNumber, InterpolationRange clamp)
{
ASSERT(value->isNumber());
double doubleValue = clampToRange(toInterpolableNumber(value)->value(), clamp);
@@ -79,7 +79,7 @@ PassOwnPtr<InterpolableValue> DoubleStyleInterpolation::toInterpolableValue(cons
return doubleToInterpolableValue(value);
}
-PassRefPtrWillBeRawPtr<CSSValue> DoubleStyleInterpolation::fromInterpolableValue(const InterpolableValue& value, InterpolationRange range)
+RawPtr<CSSValue> DoubleStyleInterpolation::fromInterpolableValue(const InterpolableValue& value, InterpolationRange range)
{
return interpolableValueToDouble(&value, true, range);
}
@@ -117,9 +117,9 @@ bool extractMotionRotation(const CSSValue& value, float* rotation, MotionRotatio
} // namespace
-PassRefPtrWillBeRawPtr<CSSValue> DoubleStyleInterpolation::interpolableValueToMotionRotation(InterpolableValue* value, bool flag)
+RawPtr<CSSValue> DoubleStyleInterpolation::interpolableValueToMotionRotation(InterpolableValue* value, bool flag)
{
- RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSpaceSeparated();
+ RawPtr<CSSValueList> list = CSSValueList::createSpaceSeparated();
if (flag)
list->append(CSSPrimitiveValue::createIdentifier(CSSValueAuto));
ASSERT(value->isNumber());

Powered by Google App Engine
This is Rietveld 408576698