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

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

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/FilterInterpolationFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp
index 7c1fbd98833a24235700e7d835283d66af92e520..c35a81a162244ba78a4ae6bb105f10770a67fe57 100644
--- a/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp
@@ -20,7 +20,7 @@ class FilterNonInterpolableValue : public NonInterpolableValue {
public:
static PassRefPtr<FilterNonInterpolableValue> create(FilterOperation::OperationType type, PassRefPtr<NonInterpolableValue> typeNonInterpolableValue)
{
- return adoptRef(new FilterNonInterpolableValue(type, typeNonInterpolableValue));
+ return adoptRef(new FilterNonInterpolableValue(type, std::move(typeNonInterpolableValue)));
}
FilterOperation::OperationType type() const { return m_type; }

Powered by Google App Engine
This is Rietveld 408576698