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

Unified Diff: Source/core/animation/ConstantStyleInterpolation.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/ConstantStyleInterpolation.h
diff --git a/Source/core/animation/ConstantStyleInterpolation.h b/Source/core/animation/ConstantStyleInterpolation.h
index 0ccda69bf72f08c69bc0f19dec04885dd2aac50f..49c55c6951ae8f6d2bbf91e8b0c1e2591521dd34 100644
--- a/Source/core/animation/ConstantStyleInterpolation.h
+++ b/Source/core/animation/ConstantStyleInterpolation.h
@@ -12,9 +12,9 @@ namespace blink {
class ConstantStyleInterpolation : public StyleInterpolation {
public:
- static PassRefPtrWillBeRawPtr<ConstantStyleInterpolation> create(CSSValue* value, CSSPropertyID id)
+ static PassRefPtr<ConstantStyleInterpolation> create(CSSValue* value, CSSPropertyID id)
{
- return adoptRefWillBeNoop(new ConstantStyleInterpolation(value, id));
+ return adoptRef(new ConstantStyleInterpolation(value, id));
}
void apply(StyleResolverState& state) const override
@@ -22,19 +22,13 @@ public:
StyleBuilder::applyProperty(m_id, state, m_value.get());
}
- DEFINE_INLINE_VIRTUAL_TRACE()
- {
- StyleInterpolation::trace(visitor);
- visitor->trace(m_value);
- }
-
private:
ConstantStyleInterpolation(CSSValue* value, CSSPropertyID id)
: StyleInterpolation(InterpolableList::create(0), InterpolableList::create(0), id)
, m_value(value)
{ }
- RefPtrWillBeMember<CSSValue> m_value;
+ RefPtrWillBePersistent<CSSValue> m_value;
};
}

Powered by Google App Engine
This is Rietveld 408576698