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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBoxAndBool.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/AnimatableLengthBoxAndBool.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h
index b3e3c9be467d25beb74c8ab4c1e5e327449393aa..8a4376f70ac7fdffb90e939b20772030aca0756f 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h
@@ -40,7 +40,7 @@ public:
~AnimatableLengthBoxAndBool() override { }
static PassRefPtr<AnimatableLengthBoxAndBool> create(PassRefPtr<AnimatableValue> box, bool flag)
{
- return adoptRef(new AnimatableLengthBoxAndBool(box, flag));
+ return adoptRef(new AnimatableLengthBoxAndBool(std::move(box), flag));
}
const AnimatableValue* box() const { return m_box.get(); }
bool flag() const { return m_flag; }

Powered by Google App Engine
This is Rietveld 408576698