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

Unified Diff: Source/core/animation/ColorStyleInterpolation.h

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/ColorStyleInterpolation.h
diff --git a/Source/core/animation/ColorStyleInterpolation.h b/Source/core/animation/ColorStyleInterpolation.h
index cc25f026afc8457059bdf7368bdf1ab27ac03df0..57c9b6f196f0dc77daf30e117af876b3e168c3bc 100644
--- a/Source/core/animation/ColorStyleInterpolation.h
+++ b/Source/core/animation/ColorStyleInterpolation.h
@@ -14,12 +14,12 @@ namespace blink {
class CORE_EXPORT ColorStyleInterpolation : public StyleInterpolation {
public:
- static PassRefPtrWillBeRawPtr<ColorStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id)
+ static PassRefPtr<ColorStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id)
{
- return adoptRefWillBeNoop(new ColorStyleInterpolation(colorToInterpolableValue(start), colorToInterpolableValue(end), id));
+ return adoptRef(new ColorStyleInterpolation(colorToInterpolableValue(start), colorToInterpolableValue(end), id));
}
- static PassRefPtrWillBeRawPtr<ColorStyleInterpolation> maybeCreateFromColor(const CSSValue& start, const CSSValue& end, CSSPropertyID);
+ static PassRefPtr<ColorStyleInterpolation> maybeCreateFromColor(const CSSValue& start, const CSSValue& end, CSSPropertyID);
static bool shouldUseLegacyStyleInterpolation(const CSSValue& start, const CSSValue& end);
@@ -27,15 +27,13 @@ public:
void apply(StyleResolverState&) const override;
- DECLARE_VIRTUAL_TRACE();
-
private:
- ColorStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id)
+ ColorStyleInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, CSSPropertyID id)
: StyleInterpolation(start, end, id)
{
}
- static PassOwnPtrWillBeRawPtr<InterpolableValue> colorToInterpolableValue(const CSSValue&);
+ static PassOwnPtr<InterpolableValue> colorToInterpolableValue(const CSSValue&);
static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> interpolableValueToColor(const InterpolableValue&);
friend class AnimationColorStyleInterpolationTest;

Powered by Google App Engine
This is Rietveld 408576698