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

Unified Diff: third_party/WebKit/Source/core/animation/CSSPathInterpolationType.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/CSSPathInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
index 0834cfeb775c05c778cbf904bbaad0c557f3f033..a1fefec5107275684dec3162b155b8019a375b87 100644
--- a/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSPathInterpolationType.cpp
@@ -42,7 +42,7 @@ class ParentPathChecker : public InterpolationType::ConversionChecker {
public:
static std::unique_ptr<ParentPathChecker> create(PassRefPtr<StylePath> stylePath)
{
- return wrapUnique(new ParentPathChecker(stylePath));
+ return wrapUnique(new ParentPathChecker(std::move(stylePath)));
}
private:

Powered by Google App Engine
This is Rietveld 408576698