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

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

Issue 2622043003: Replaced RefPtr::release with std::move in Source/core. (Closed)
Patch Set: Created 3 years, 11 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 6b5f2aa0151d5f9ccf5d283d000b33e10445aa81..0e6fd76ef4b2ce97679edabd234def9ed0695f71 100644
--- a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
@@ -117,7 +117,7 @@ InterpolationValue createValue(const Length& length,
return InterpolationValue(
std::move(convertedLength.interpolableValue),
CSSTextIndentNonInterpolableValue::create(
- convertedLength.nonInterpolableValue.release(), mode));
+ std::move(convertedLength.nonInterpolableValue), mode));
}
} // namespace
@@ -173,7 +173,7 @@ InterpolationValue CSSTextIndentInterpolationType::maybeConvertValue(
return InterpolationValue(
std::move(length.interpolableValue),
CSSTextIndentNonInterpolableValue::create(
- length.nonInterpolableValue.release(), IndentMode(line, type)));
+ std::move(length.nonInterpolableValue), IndentMode(line, type)));
}
InterpolationValue
@@ -199,12 +199,13 @@ PairwiseInterpolationValue CSSTextIndentInterpolationType::maybeMergeSingles(
LengthInterpolationFunctions::mergeSingles(
InterpolationValue(
std::move(start.interpolableValue),
- startNonInterpolableValue.lengthNonInterpolableValue().release()),
+ std::move(
+ startNonInterpolableValue.lengthNonInterpolableValue())),
InterpolationValue(
std::move(end.interpolableValue),
- endNonInterpolableValue.lengthNonInterpolableValue().release()));
+ std::move(endNonInterpolableValue.lengthNonInterpolableValue())));
result.nonInterpolableValue = CSSTextIndentNonInterpolableValue::create(
- result.nonInterpolableValue.release(), startNonInterpolableValue.mode());
+ std::move(result.nonInterpolableValue), startNonInterpolableValue.mode());
return result;
}

Powered by Google App Engine
This is Rietveld 408576698