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

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

Issue 1276183004: Oilpan: Unship oilpan from temporary animation objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/FilterStyleInterpolation.cpp
diff --git a/Source/core/animation/FilterStyleInterpolation.cpp b/Source/core/animation/FilterStyleInterpolation.cpp
index 4d063c0778be3836c2aaa044ddff34b0c15a65b7..32bf8d5b26ccb7e7ac5cca623640494ae97dab42 100644
--- a/Source/core/animation/FilterStyleInterpolation.cpp
+++ b/Source/core/animation/FilterStyleInterpolation.cpp
@@ -60,7 +60,7 @@ PassRefPtrWillBeRawPtr<CSSValueList> extendFilterList(const CSSValueList& shortF
return result.release();
}
-PassRefPtrWillBeRawPtr<FilterStyleInterpolation::FilterListStyleInterpolation> maybeCreateFromList(const CSSValueList& startList, const CSSValueList& endList, CSSPropertyID property)
+PassRefPtr<FilterStyleInterpolation::FilterListStyleInterpolation> maybeCreateFromList(const CSSValueList& startList, const CSSValueList& endList, CSSPropertyID property)
{
if (startList.length() < endList.length())
return ListStyleInterpolation<FilterStyleInterpolation>::maybeCreateFromList(*extendFilterList(startList, endList), endList, property);
@@ -69,7 +69,7 @@ PassRefPtrWillBeRawPtr<FilterStyleInterpolation::FilterListStyleInterpolation> m
} // namespace
-PassRefPtrWillBeRawPtr<FilterStyleInterpolation::FilterListStyleInterpolation> FilterStyleInterpolation::maybeCreateList(const CSSValue& start, const CSSValue& end, CSSPropertyID property)
+PassRefPtr<FilterStyleInterpolation::FilterListStyleInterpolation> FilterStyleInterpolation::maybeCreateList(const CSSValue& start, const CSSValue& end, CSSPropertyID property)
{
if (start.isCSSWideKeyword() || end.isCSSWideKeyword())
return nullptr;
@@ -97,13 +97,13 @@ bool FilterStyleInterpolation::canCreateFrom(const CSSValue& start, const CSSVal
&& startFunctionType != CSSValueDropShadow;
}
-PassOwnPtrWillBeRawPtr<InterpolableValue> FilterStyleInterpolation::toInterpolableValue(const CSSValue& value, CSSValueID& functionType)
+PassOwnPtr<InterpolableValue> FilterStyleInterpolation::toInterpolableValue(const CSSValue& value, CSSValueID& functionType)
{
const CSSFunctionValue& filterValue = toCSSFunctionValue(value);
functionType = filterValue.functionType();
size_t length = filterValue.length();
- OwnPtrWillBeRawPtr<InterpolableList> result = InterpolableList::create(length);
+ OwnPtr<InterpolableList> result = InterpolableList::create(length);
for (size_t i = 0; i < length; ++i) {
switch (functionType) {
case CSSValueHueRotate:

Powered by Google App Engine
This is Rietveld 408576698