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

Unified Diff: third_party/WebKit/Source/core/animation/Keyframe.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/Keyframe.h
diff --git a/third_party/WebKit/Source/core/animation/Keyframe.h b/third_party/WebKit/Source/core/animation/Keyframe.h
index 323096f06eb1a2560d2f27764a8af637a4e23754..4e538afdae94de7b2bcc26cd8b080d5590f325e5 100644
--- a/third_party/WebKit/Source/core/animation/Keyframe.h
+++ b/third_party/WebKit/Source/core/animation/Keyframe.h
@@ -124,7 +124,7 @@ class CORE_EXPORT Keyframe : public RefCounted<Keyframe> {
Keyframe(double offset,
EffectModel::CompositeOperation composite,
PassRefPtr<TimingFunction> easing)
- : m_offset(offset), m_composite(composite), m_easing(easing) {}
+ : m_offset(offset), m_composite(composite), m_easing(std::move(easing)) {}
double m_offset;
EffectModel::CompositeOperation m_composite;

Powered by Google App Engine
This is Rietveld 408576698