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

Unified Diff: third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.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/CSSBorderImageLengthBoxInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp
index ae4f2076811176fd40265a15f7e1b91930971ce6..e5e1cca4e2fe65df5337e4fa12077da90a3694be 100644
--- a/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSBorderImageLengthBoxInterpolationType.cpp
@@ -171,7 +171,7 @@ InterpolationValue convertBorderImageLengthBox(const BorderImageLengthBox& box,
if (!convertedSide)
return nullptr;
list->set(i, std::move(convertedSide.interpolableValue));
- nonInterpolableValues[i] = convertedSide.nonInterpolableValue.release();
+ nonInterpolableValues[i] = std::move(convertedSide.nonInterpolableValue);
}
}
@@ -251,7 +251,7 @@ InterpolationValue CSSBorderImageLengthBoxInterpolationType::maybeConvertValue(
if (!convertedSide)
return nullptr;
list->set(i, std::move(convertedSide.interpolableValue));
- nonInterpolableValues[i] = convertedSide.nonInterpolableValue.release();
+ nonInterpolableValues[i] = std::move(convertedSide.nonInterpolableValue);
}
}
@@ -287,7 +287,7 @@ CSSBorderImageLengthBoxInterpolationType::maybeMergeSingles(
return PairwiseInterpolationValue(std::move(start.interpolableValue),
std::move(end.interpolableValue),
- start.nonInterpolableValue.release());
+ std::move(start.nonInterpolableValue));
}
void CSSBorderImageLengthBoxInterpolationType::composite(

Powered by Google App Engine
This is Rietveld 408576698