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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatablePath.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/AnimatablePath.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.h b/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.h
index 9533dd9c08477d4b4ea16d700f5e7f871a251e79..baf576e68a828ca681df84b48747d9fe825e2464 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.h
@@ -16,7 +16,7 @@ public:
~AnimatablePath() override { }
static PassRefPtr<AnimatablePath> create(PassRefPtr<StylePath> path)
{
- return adoptRef(new AnimatablePath(path));
+ return adoptRef(new AnimatablePath(std::move(path)));
}
StylePath* path() const { return m_path.get(); }

Powered by Google App Engine
This is Rietveld 408576698