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

Unified Diff: Source/core/animation/animatable/AnimatableDoubleAndBool.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/animatable/AnimatableDoubleAndBool.h
diff --git a/Source/core/animation/animatable/AnimatableDoubleAndBool.h b/Source/core/animation/animatable/AnimatableDoubleAndBool.h
index 137369f826a1d0a2d3e90ec4844a039662441eaf..e347a368b4d6a382ccf6ab4734efe331e79c2e05 100644
--- a/Source/core/animation/animatable/AnimatableDoubleAndBool.h
+++ b/Source/core/animation/animatable/AnimatableDoubleAndBool.h
@@ -13,9 +13,9 @@ namespace blink {
class CORE_EXPORT AnimatableDoubleAndBool final : public AnimatableValue {
public:
virtual ~AnimatableDoubleAndBool() { }
- static PassRefPtrWillBeRawPtr<AnimatableDoubleAndBool> create(double number, bool flag)
+ static AnimatableDoubleAndBool* create(double number, bool flag)
{
- return adoptRefWillBeNoop(new AnimatableDoubleAndBool(number, flag));
+ return new AnimatableDoubleAndBool(number, flag);
}
double toDouble() const { return m_number; }
@@ -24,7 +24,7 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE() { AnimatableValue::trace(visitor); }
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ virtual AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override;
virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:

Powered by Google App Engine
This is Rietveld 408576698