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

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

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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
« no previous file with comments | « Source/core/animation/CSSValueInterpolationType.h ('k') | Source/core/animation/ColorStyleInterpolation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/CSSValueInterpolationType.cpp
diff --git a/Source/core/animation/CSSValueInterpolationType.cpp b/Source/core/animation/CSSValueInterpolationType.cpp
index 7b91a827e17e77174a16d04bc0cdbdd6820db002..be09caa7ced635c056c45f687d37f16797d194b7 100644
--- a/Source/core/animation/CSSValueInterpolationType.cpp
+++ b/Source/core/animation/CSSValueInterpolationType.cpp
@@ -12,9 +12,9 @@ namespace blink {
class CSSValueNonInterpolableValue : public NonInterpolableValue {
public:
~CSSValueNonInterpolableValue() override { }
- static PassRefPtrWillBeRawPtr<CSSValueNonInterpolableValue> create(PassRefPtrWillBeRawPtr<CSSValue> cssValue)
+ static CSSValueNonInterpolableValue* create(PassRefPtrWillBeRawPtr<CSSValue> cssValue)
{
- return adoptRefWillBeNoop(new CSSValueNonInterpolableValue(cssValue));
+ return new CSSValueNonInterpolableValue(cssValue);
}
CSSValue* cssValue() const { return m_cssValue.get(); }
@@ -38,7 +38,7 @@ private:
DEFINE_NON_INTERPOLABLE_VALUE_TYPE(CSSValueNonInterpolableValue);
DEFINE_NON_INTERPOLABLE_VALUE_TYPE_CASTS(CSSValueNonInterpolableValue);
-PassOwnPtrWillBeRawPtr<InterpolationValue> CSSValueInterpolationType::maybeConvertSingle(const CSSPropertySpecificKeyframe& keyframe, const StyleResolverState*, ConversionCheckers&) const
+InterpolationValue* CSSValueInterpolationType::maybeConvertSingle(const CSSPropertySpecificKeyframe& keyframe, const StyleResolverState*, ConversionCheckers&) const
{
return InterpolationValue::create(*this, InterpolableList::create(0), CSSValueNonInterpolableValue::create(keyframe.value()));
}
« no previous file with comments | « Source/core/animation/CSSValueInterpolationType.h ('k') | Source/core/animation/ColorStyleInterpolation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698