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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint3D.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/AnimatableLengthPoint3D.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint3D.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint3D.h
index 256844be5d2c1cc8c24888817c088a293f53c5e8..acc34b8017a299634e8132ec9563b91e5872ac28 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint3D.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthPoint3D.h
@@ -40,7 +40,7 @@ public:
~AnimatableLengthPoint3D() override { }
static PassRefPtr<AnimatableLengthPoint3D> create(PassRefPtr<AnimatableValue> x, PassRefPtr<AnimatableValue> y, PassRefPtr<AnimatableValue> z)
{
- return adoptRef(new AnimatableLengthPoint3D(x, y, z));
+ return adoptRef(new AnimatableLengthPoint3D(std::move(x), std::move(y), std::move(z)));
}
const AnimatableValue* x() const { return m_x.get(); }
const AnimatableValue* y() const { return m_y.get(); }

Powered by Google App Engine
This is Rietveld 408576698