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

Unified Diff: third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.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/SizeInterpolationFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp
index eccc0a8cc8a46a5e3bb8fc8e9a04cc04d3980bd2..7fcfb3ed6a3ec3a236f2bf1690bd3011ccef62e4 100644
--- a/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/SizeInterpolationFunctions.cpp
@@ -68,10 +68,9 @@ static InterpolationValue wrapConvertedLength(
InterpolationValue&& convertedLength) {
if (!convertedLength)
return nullptr;
- return InterpolationValue(
- std::move(convertedLength.interpolableValue),
- CSSSizeNonInterpolableValue::create(
- convertedLength.nonInterpolableValue.release()));
+ return InterpolationValue(std::move(convertedLength.interpolableValue),
+ CSSSizeNonInterpolableValue::create(std::move(
+ convertedLength.nonInterpolableValue)));
}
InterpolationValue SizeInterpolationFunctions::convertFillSizeSide(
@@ -131,7 +130,7 @@ PairwiseInterpolationValue SizeInterpolationFunctions::maybeMergeSingles(
return nullptr;
return PairwiseInterpolationValue(std::move(start.interpolableValue),
std::move(end.interpolableValue),
- start.nonInterpolableValue.release());
+ std::move(start.nonInterpolableValue));
}
InterpolationValue SizeInterpolationFunctions::createNeutralValue(

Powered by Google App Engine
This is Rietveld 408576698