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

Unified Diff: third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.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/CSSTextIndentInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
index 0a3374a63de5ecf68135104c05dd4f2ff3321ed6..dbfd5e849ce55cad7ca354f8825de9ea98600839 100644
--- a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
@@ -39,7 +39,7 @@ class CSSTextIndentNonInterpolableValue : public NonInterpolableValue {
public:
static PassRefPtr<CSSTextIndentNonInterpolableValue> create(PassRefPtr<NonInterpolableValue> lengthNonInterpolableValue, const IndentMode& mode)
{
- return adoptRef(new CSSTextIndentNonInterpolableValue(lengthNonInterpolableValue, mode));
+ return adoptRef(new CSSTextIndentNonInterpolableValue(std::move(lengthNonInterpolableValue), mode));
}
const NonInterpolableValue* lengthNonInterpolableValue() const { return m_lengthNonInterpolableValue.get(); }

Powered by Google App Engine
This is Rietveld 408576698