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

Unified Diff: third_party/WebKit/Source/core/animation/ListInterpolationFunctions.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/ListInterpolationFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.cpp
index 159204e76bb3e0f92f4df0d1419d7c2e01c9d74c..fb5c42ddab50efdf9c1d33c48370ad92d52da785 100644
--- a/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.cpp
@@ -66,7 +66,7 @@ PairwiseInterpolationValue ListInterpolationFunctions::maybeMergeSingles(
end.interpolableValue->cloneAndZero();
return PairwiseInterpolationValue(std::move(startInterpolableValue),
std::move(end.interpolableValue),
- end.nonInterpolableValue.release());
+ std::move(end.nonInterpolableValue));
}
if (endLength == 0) {
@@ -74,7 +74,7 @@ PairwiseInterpolationValue ListInterpolationFunctions::maybeMergeSingles(
start.interpolableValue->cloneAndZero();
return PairwiseInterpolationValue(std::move(start.interpolableValue),
std::move(endInterpolableValue),
- start.nonInterpolableValue.release());
+ std::move(start.nonInterpolableValue));
}
size_t finalLength = lowestCommonMultiple(startLength, endLength);
@@ -106,7 +106,7 @@ PairwiseInterpolationValue ListInterpolationFunctions::maybeMergeSingles(
resultStartInterpolableList->set(i,
std::move(result.startInterpolableValue));
resultEndInterpolableList->set(i, std::move(result.endInterpolableValue));
- resultNonInterpolableValues[i] = result.nonInterpolableValue.release();
+ resultNonInterpolableValues[i] = std::move(result.nonInterpolableValue);
}
return PairwiseInterpolationValue(

Powered by Google App Engine
This is Rietveld 408576698