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

Unified Diff: Source/core/animation/animatable/AnimatableImage.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
Index: Source/core/animation/animatable/AnimatableImage.h
diff --git a/Source/core/animation/animatable/AnimatableImage.h b/Source/core/animation/animatable/AnimatableImage.h
index e54bd4e745451219478f6fbaf2d5ba4d88d2225e..e763638732663ef38ef9705937f7b08c4a4c2668 100644
--- a/Source/core/animation/animatable/AnimatableImage.h
+++ b/Source/core/animation/animatable/AnimatableImage.h
@@ -40,9 +40,9 @@ namespace blink {
class AnimatableImage final : public AnimatableValue {
public:
~AnimatableImage() override { }
- static PassRefPtrWillBeRawPtr<AnimatableImage> create(PassRefPtrWillBeRawPtr<CSSValue> value)
+ static AnimatableImage* create(PassRefPtrWillBeRawPtr<CSSValue> value)
{
- return adoptRefWillBeNoop(new AnimatableImage(value));
+ return new AnimatableImage(value);
}
CSSValue* toCSSValue() const { return m_value.get(); }
@@ -53,7 +53,7 @@ public:
}
protected:
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override;
bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:
« no previous file with comments | « Source/core/animation/animatable/AnimatableFilterOperations.cpp ('k') | Source/core/animation/animatable/AnimatableImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698