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

Unified Diff: Source/core/animation/AnimatableImage.h

Issue 204743002: Oilpan: Move AnimatableValue's hierarchy to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/core/animation/AnimatableFilterOperations.cpp ('k') | Source/core/animation/AnimatableImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableImage.h
diff --git a/Source/core/animation/AnimatableImage.h b/Source/core/animation/AnimatableImage.h
index eaf39d6c2521b2fb8faa9207019e60de58efe104..dd575d2d409817b60bdddc0b66544238535ca5bd 100644
--- a/Source/core/animation/AnimatableImage.h
+++ b/Source/core/animation/AnimatableImage.h
@@ -40,21 +40,23 @@ namespace WebCore {
class AnimatableImage FINAL : public AnimatableValue {
public:
virtual ~AnimatableImage() { }
- static PassRefPtr<AnimatableImage> create(const StyleImage& image)
+ static PassRefPtrWillBeRawPtr<AnimatableImage> create(const StyleImage& image)
{
return create(image.cssValue());
}
CSSValue* toCSSValue() const { return m_value.get(); }
+ virtual void trace(Visitor*) OVERRIDE { }
+
protected:
- virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
- virtual PassRefPtr<AnimatableValue> addWith(const AnimatableValue*) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE;
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> addWith(const AnimatableValue*) const OVERRIDE;
virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const OVERRIDE;
private:
- static PassRefPtr<AnimatableImage> create(PassRefPtr<CSSValue> value)
+ static PassRefPtrWillBeRawPtr<AnimatableImage> create(PassRefPtr<CSSValue> value)
{
- return adoptRef(new AnimatableImage(value));
+ return adoptRefWillBeNoop(new AnimatableImage(value));
}
AnimatableImage(PassRefPtr<CSSValue> value)
: m_value(value)
« no previous file with comments | « Source/core/animation/AnimatableFilterOperations.cpp ('k') | Source/core/animation/AnimatableImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698