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

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: Resize expect size of Persistent Created 5 years, 7 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/Interpolation.h
diff --git a/Source/core/animation/Interpolation.h b/Source/core/animation/Interpolation.h
index c3c62cd9219b4dada27cc4aa122ca627a45856de..dbf45a8fb8f11f5a6b6c620abec1375aa7c0aa7f 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> {
public:
virtual ~Interpolation();
@@ -28,14 +28,14 @@ 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(); }

Powered by Google App Engine
This is Rietveld 408576698