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

Unified Diff: third_party/WebKit/Source/core/animation/InterpolableValue.h

Issue 2761693002: Wrapped PassRefPtrs in move where passed to RefPtr constructor. (Closed)
Patch Set: Added move wraps for multiple instances in 1 line. Created 3 years, 9 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/InterpolableValue.h
diff --git a/third_party/WebKit/Source/core/animation/InterpolableValue.h b/third_party/WebKit/Source/core/animation/InterpolableValue.h
index 960c2036888e07ccc98420188279755adeefa891..94e0ac0a1dac7c1ac9b881f71669e2ee70a87db0 100644
--- a/third_party/WebKit/Source/core/animation/InterpolableValue.h
+++ b/third_party/WebKit/Source/core/animation/InterpolableValue.h
@@ -164,7 +164,7 @@ class InterpolableAnimatableValue : public InterpolableValue {
RefPtr<AnimatableValue> m_value;
InterpolableAnimatableValue(PassRefPtr<AnimatableValue> value)
- : m_value(value) {}
+ : m_value(std::move(value)) {}
};
DEFINE_TYPE_CASTS(InterpolableNumber,

Powered by Google App Engine
This is Rietveld 408576698