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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h

Issue 2286233002: Replaced PassRefPtr copies with moves in Source/core/animation. (Closed)
Patch Set: Created 4 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: third_party/WebKit/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
index 0c14b0e997a8e2ea4a12382eb5399af6c856ecd9..fd037217b8b9bac07624ca956729f68e31467958 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableStrokeDasharrayList.h
@@ -43,7 +43,7 @@ public:
static PassRefPtr<AnimatableStrokeDasharrayList> create(PassRefPtr<SVGDashArray> lengths, float zoom)
{
- return adoptRef(new AnimatableStrokeDasharrayList(lengths, zoom));
+ return adoptRef(new AnimatableStrokeDasharrayList(std::move(lengths), zoom));
}
PassRefPtr<SVGDashArray> toSVGDashArray(float zoom) const;

Powered by Google App Engine
This is Rietveld 408576698