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

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

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/InterpolableValueTest.cpp ('k') | Source/core/animation/Interpolation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/Interpolation.h
diff --git a/Source/core/animation/Interpolation.h b/Source/core/animation/Interpolation.h
index feaf2ad3029d5e5e6cf308bbbd65482b8e8de0a9..9a53497661fcbb0413aa55ded4cd907c3d22efff 100644
--- a/Source/core/animation/Interpolation.h
+++ b/Source/core/animation/Interpolation.h
@@ -13,7 +13,7 @@ namespace blink {
class PropertyHandle;
-class CORE_EXPORT Interpolation : public RefCountedWillBeGarbageCollectedFinalized<Interpolation> {
+class CORE_EXPORT Interpolation : public GarbageCollectedFinalized<Interpolation> {
WTF_MAKE_NONCOPYABLE(Interpolation);
public:
virtual ~Interpolation();
@@ -30,17 +30,17 @@ public:
DECLARE_VIRTUAL_TRACE();
protected:
- const OwnPtrWillBeMember<InterpolableValue> m_start;
- const OwnPtrWillBeMember<InterpolableValue> m_end;
+ const Member<InterpolableValue> m_start;
+ const Member<InterpolableValue> m_end;
mutable double m_cachedFraction;
mutable int m_cachedIteration;
- mutable OwnPtrWillBeMember<InterpolableValue> m_cachedValue;
+ mutable Member<InterpolableValue> m_cachedValue;
- Interpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end);
+ Interpolation(InterpolableValue* start, InterpolableValue* end);
private:
- InterpolableValue* getCachedValueForTesting() const { return m_cachedValue.get(); }
+ InterpolableValue* getCachedValueForTesting() const { return m_cachedValue; }
friend class AnimationInterpolableValueTest;
friend class AnimationInterpolationEffectTest;
« no previous file with comments | « Source/core/animation/InterpolableValueTest.cpp ('k') | Source/core/animation/Interpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698