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

Unified Diff: Source/core/animation/animatable/AnimatableStrokeDasharrayList.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/AnimatableStrokeDasharrayList.h
diff --git a/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h b/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
index bb9329d92f5bcc25ae8201450d54d1aaaf9d3e3b..73bea3be37d3bd86b1dd4248cba157002186c2ed 100644
--- a/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
+++ b/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
@@ -41,9 +41,9 @@ class CORE_EXPORT AnimatableStrokeDasharrayList final : public AnimatableRepeata
public:
virtual ~AnimatableStrokeDasharrayList() { }
- static PassRefPtrWillBeRawPtr<AnimatableStrokeDasharrayList> create(PassRefPtr<SVGDashArray> lengths, float zoom)
+ static AnimatableStrokeDasharrayList* create(PassRefPtr<SVGDashArray> lengths, float zoom)
{
- return adoptRefWillBeNoop(new AnimatableStrokeDasharrayList(lengths, zoom));
+ return new AnimatableStrokeDasharrayList(lengths, zoom);
}
PassRefPtr<SVGDashArray> toSVGDashArray(float zoom) const;
@@ -51,13 +51,13 @@ public:
DECLARE_VIRTUAL_TRACE();
protected:
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ virtual AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override;
virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:
AnimatableStrokeDasharrayList(PassRefPtr<SVGDashArray>, float zoom);
// This will consume the vector passed into it.
- AnimatableStrokeDasharrayList(WillBeHeapVector<RefPtrWillBeMember<AnimatableValue>>& values)
+ AnimatableStrokeDasharrayList(HeapVector<Member<AnimatableValue>>& values)
: AnimatableRepeatable(values)
{
}

Powered by Google App Engine
This is Rietveld 408576698