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

Unified Diff: Source/core/animation/AnimatableShadow.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
Index: Source/core/animation/AnimatableShadow.h
diff --git a/Source/core/animation/AnimatableShadow.h b/Source/core/animation/AnimatableShadow.h
index 3441c4c9a3da99c4bbf2219882309fb0d73e25ae..cda0693566c9dde9fc12ea66ba13288be20e6b16 100644
--- a/Source/core/animation/AnimatableShadow.h
+++ b/Source/core/animation/AnimatableShadow.h
@@ -39,15 +39,17 @@ namespace WebCore {
class AnimatableShadow FINAL : public AnimatableValue {
public:
virtual ~AnimatableShadow() { }
- static PassRefPtr<AnimatableShadow> create(PassRefPtr<ShadowList> shadowList)
+ static PassRefPtrWillBeRawPtr<AnimatableShadow> create(PassRefPtr<ShadowList> shadowList)
{
- return adoptRef(new AnimatableShadow(shadowList));
+ return adoptRefWillBeNoop(new AnimatableShadow(shadowList));
}
ShadowList* shadowList() const { return m_shadowList.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;
private:
explicit AnimatableShadow(PassRefPtr<ShadowList> shadowList)

Powered by Google App Engine
This is Rietveld 408576698