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

Unified Diff: third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp

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/SizeInterpolationFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp
index 7fcfb3ed6a3ec3a236f2bf1690bd3011ccef62e4..18c2a1b24e1e355e93f77c9100fef1b4585eedd0 100644
--- a/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp
@@ -50,7 +50,7 @@ class CSSSizeNonInterpolableValue : public NonInterpolableValue {
CSSSizeNonInterpolableValue(
PassRefPtr<NonInterpolableValue> lengthNonInterpolableValue)
: m_keyword(CSSValueInvalid),
- m_lengthNonInterpolableValue(lengthNonInterpolableValue) {}
+ m_lengthNonInterpolableValue(std::move(lengthNonInterpolableValue)) {}
CSSValueID m_keyword;
RefPtr<NonInterpolableValue> m_lengthNonInterpolableValue;

Powered by Google App Engine
This is Rietveld 408576698