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

Unified Diff: Source/core/animation/animatable/AnimatableColor.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/AnimatableColor.h
diff --git a/Source/core/animation/animatable/AnimatableColor.h b/Source/core/animation/animatable/AnimatableColor.h
index b6f05dbf66ad2d63be7954aeeaf4d07f138dd9d5..3033fbd1579bbcc4cc5d05a0cad60d6594bf9de1 100644
--- a/Source/core/animation/animatable/AnimatableColor.h
+++ b/Source/core/animation/animatable/AnimatableColor.h
@@ -60,14 +60,14 @@ private:
// but inefficient.
class CORE_EXPORT AnimatableColor final : public AnimatableValue {
public:
- static PassRefPtrWillBeRawPtr<AnimatableColor> create(const AnimatableColorImpl&, const AnimatableColorImpl& visitedLinkColor);
+ static AnimatableColor* create(const AnimatableColorImpl&, const AnimatableColorImpl& visitedLinkColor);
Color color() const { return m_color.toColor(); }
Color visitedLinkColor() const { return m_visitedLinkColor.toColor(); }
DEFINE_INLINE_VIRTUAL_TRACE() { AnimatableValue::trace(visitor); }
protected:
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override;
private:
AnimatableColor(const AnimatableColorImpl& color, const AnimatableColorImpl& visitedLinkColor)
« no previous file with comments | « Source/core/animation/animatable/AnimatableClipPathOperation.cpp ('k') | Source/core/animation/animatable/AnimatableColor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698