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

Unified Diff: Source/core/animation/DeferredLegacyStyleInterpolation.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/DeferredLegacyStyleInterpolation.h
diff --git a/Source/core/animation/DeferredLegacyStyleInterpolation.h b/Source/core/animation/DeferredLegacyStyleInterpolation.h
index 9d3d3bf24bff89d91110a51a2455003ed0d14300..faba26732d86b3f9801429b1bf49c0e9dfb04584 100644
--- a/Source/core/animation/DeferredLegacyStyleInterpolation.h
+++ b/Source/core/animation/DeferredLegacyStyleInterpolation.h
@@ -23,15 +23,13 @@ class CSSValuePair;
class CORE_EXPORT DeferredLegacyStyleInterpolation : public StyleInterpolation {
public:
- static PassRefPtrWillBeRawPtr<DeferredLegacyStyleInterpolation> create(PassRefPtrWillBeRawPtr<CSSValue> start, PassRefPtrWillBeRawPtr<CSSValue> end, CSSPropertyID id)
+ static PassRefPtr<DeferredLegacyStyleInterpolation> create(PassRefPtrWillBeRawPtr<CSSValue> start, PassRefPtrWillBeRawPtr<CSSValue> end, CSSPropertyID id)
{
- return adoptRefWillBeNoop(new DeferredLegacyStyleInterpolation(start, end, id));
+ return adoptRef(new DeferredLegacyStyleInterpolation(start, end, id));
}
void apply(StyleResolverState&) const override;
- DECLARE_VIRTUAL_TRACE();
-
static bool interpolationRequiresStyleResolve(const CSSValue&);
static bool interpolationRequiresStyleResolve(const CSSPrimitiveValue&);
static bool interpolationRequiresStyleResolve(const CSSImageValue&);
@@ -55,9 +53,9 @@ private:
{
}
- RefPtrWillBeMember<CSSValue> m_startCSSValue;
- RefPtrWillBeMember<CSSValue> m_endCSSValue;
- mutable RefPtrWillBeMember<LegacyStyleInterpolation> m_innerInterpolation;
+ RefPtrWillBePersistent<CSSValue> m_startCSSValue;
+ RefPtrWillBePersistent<CSSValue> m_endCSSValue;
+ mutable RefPtr<LegacyStyleInterpolation> m_innerInterpolation;
mutable bool m_outdated;
};

Powered by Google App Engine
This is Rietveld 408576698