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

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

Issue 2359553003: Replaced PassRefPtr copies with moves. (Closed)
Patch Set: Created 4 years, 3 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 505ab0c45ef1c35cf7ca8ff82442de5979222ecb..5998eba4b788c1297d9f8111c15d830b81c50bf9 100644
--- a/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp
@@ -20,7 +20,7 @@ public:
static PassRefPtr<CSSSizeNonInterpolableValue> create(PassRefPtr<NonInterpolableValue> lengthNonInterpolableValue)
{
- return adoptRef(new CSSSizeNonInterpolableValue(lengthNonInterpolableValue));
+ return adoptRef(new CSSSizeNonInterpolableValue(std::move(lengthNonInterpolableValue)));
}
bool isKeyword() const { return m_keyword != CSSValueInvalid; }

Powered by Google App Engine
This is Rietveld 408576698