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

Unified Diff: Source/core/animation/animatable/AnimatableUnknown.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/AnimatableUnknown.h
diff --git a/Source/core/animation/animatable/AnimatableUnknown.h b/Source/core/animation/animatable/AnimatableUnknown.h
index e767659e7c28418b55afef3b2e24723764395b58..e943de81a8be5da64b0b599e3ebf58a5b756cd4a 100644
--- a/Source/core/animation/animatable/AnimatableUnknown.h
+++ b/Source/core/animation/animatable/AnimatableUnknown.h
@@ -41,13 +41,13 @@ class AnimatableUnknown final : public AnimatableValue {
public:
virtual ~AnimatableUnknown() { }
- static PassRefPtrWillBeRawPtr<AnimatableUnknown> create(PassRefPtrWillBeRawPtr<CSSValue> value)
+ static AnimatableUnknown* create(PassRefPtrWillBeRawPtr<CSSValue> value)
{
- return adoptRefWillBeNoop(new AnimatableUnknown(value));
+ return new AnimatableUnknown(value);
}
- static PassRefPtrWillBeRawPtr<AnimatableUnknown> create(CSSValueID value)
+ static AnimatableUnknown* create(CSSValueID value)
{
- return adoptRefWillBeNoop(new AnimatableUnknown(cssValuePool().createIdentifierValue(value)));
+ return new AnimatableUnknown(cssValuePool().createIdentifierValue(value));
}
PassRefPtrWillBeRawPtr<CSSValue> toCSSValue() const { return m_value; }
@@ -60,7 +60,7 @@ public:
}
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue* value, double fraction) const override
+ virtual AnimatableValue* interpolateTo(const AnimatableValue* value, double fraction) const override
{
return defaultInterpolateTo(this, value, fraction);
}

Powered by Google App Engine
This is Rietveld 408576698