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

Unified Diff: Source/core/animation/LegacyStyleInterpolation.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/LegacyStyleInterpolation.h
diff --git a/Source/core/animation/LegacyStyleInterpolation.h b/Source/core/animation/LegacyStyleInterpolation.h
index aceb97d6b844261d3dcc71dbf68058b6e8102aa7..e3472bd1d10ad24af32a6034586bffd2c0509c35 100644
--- a/Source/core/animation/LegacyStyleInterpolation.h
+++ b/Source/core/animation/LegacyStyleInterpolation.h
@@ -12,9 +12,9 @@ namespace blink {
class LegacyStyleInterpolation : public StyleInterpolation {
public:
- static PassRefPtrWillBeRawPtr<LegacyStyleInterpolation> create(PassRefPtrWillBeRawPtr<AnimatableValue> start, PassRefPtrWillBeRawPtr<AnimatableValue> end, CSSPropertyID id)
+ static PassRefPtr<LegacyStyleInterpolation> create(PassRefPtr<AnimatableValue> start, PassRefPtr<AnimatableValue> end, CSSPropertyID id)
{
- return adoptRefWillBeNoop(new LegacyStyleInterpolation(InterpolableAnimatableValue::create(start), InterpolableAnimatableValue::create(end), id));
+ return adoptRef(new LegacyStyleInterpolation(InterpolableAnimatableValue::create(start), InterpolableAnimatableValue::create(end), id));
}
void apply(StyleResolverState& state) const override
@@ -23,18 +23,13 @@ public:
}
bool isLegacyStyleInterpolation() const final { return true; }
- PassRefPtrWillBeRawPtr<AnimatableValue> currentValue() const
+ PassRefPtr<AnimatableValue> currentValue() const
{
return toInterpolableAnimatableValue(m_cachedValue.get())->value();
}
- DEFINE_INLINE_VIRTUAL_TRACE()
- {
- StyleInterpolation::trace(visitor);
- }
-
private:
- LegacyStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id)
+ LegacyStyleInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, CSSPropertyID id)
: StyleInterpolation(start, end, id)
{
}

Powered by Google App Engine
This is Rietveld 408576698