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

Unified Diff: third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h

Issue 1977763002: Remove OwnPtr::release() calls in core/ (part 1). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove static_pointer_cast<>s. Created 4 years, 7 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/PairwiseInterpolationValue.h
diff --git a/third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h b/third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h
index 0d16dd897542e4ddb552b6e54080121e7a07b30d..6f1d96c2efb10e5debc536a87a52c564737b6b70 100644
--- a/third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h
+++ b/third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h
@@ -24,8 +24,8 @@ struct PairwiseInterpolationValue {
PairwiseInterpolationValue(std::nullptr_t) { }
PairwiseInterpolationValue(PairwiseInterpolationValue&& other)
- : startInterpolableValue(other.startInterpolableValue.release())
- , endInterpolableValue(other.endInterpolableValue.release())
+ : startInterpolableValue(std::move(other.startInterpolableValue))
+ , endInterpolableValue(std::move(other.endInterpolableValue))
, nonInterpolableValue(other.nonInterpolableValue.release())
{ }

Powered by Google App Engine
This is Rietveld 408576698