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

Unified Diff: third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.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/CSSFilterListInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp
index 908f2d9ebd75c1252f1e11bba6b599cb66771afe..4ad7cdf0452ceb5cd70111db13d0bf893eb5227d 100644
--- a/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSFilterListInterpolationType.cpp
@@ -20,7 +20,7 @@ class UnderlyingFilterListChecker : public InterpolationType::ConversionChecker
public:
static std::unique_ptr<UnderlyingFilterListChecker> create(PassRefPtr<NonInterpolableList> nonInterpolableList)
{
- return wrapUnique(new UnderlyingFilterListChecker(nonInterpolableList));
+ return wrapUnique(new UnderlyingFilterListChecker(std::move(nonInterpolableList)));
}
bool isValid(const InterpolationEnvironment&, const InterpolationValue& underlying) const final

Powered by Google App Engine
This is Rietveld 408576698