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

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: 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/AnimatableStrokeDasharrayList.h
diff --git a/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h b/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
index 7937f7579443f1366e30d90c76b9bde077edefc5..daea3f19fc292cae6fc4d9d9e9c1c7042e5f8bcd 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:
~AnimatableStrokeDasharrayList() override { }
- 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:
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override;
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