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

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

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/InterpolationValue.h
diff --git a/third_party/WebKit/Source/core/animation/InterpolationValue.h b/third_party/WebKit/Source/core/animation/InterpolationValue.h
index 7bd9e28e6347f7be8d8b5a83362be8d6e0c3e40f..cbe42bb8a89c9a73731edc4705c32150646261c4 100644
--- a/third_party/WebKit/Source/core/animation/InterpolationValue.h
+++ b/third_party/WebKit/Source/core/animation/InterpolationValue.h
@@ -28,11 +28,11 @@ struct InterpolationValue {
InterpolationValue(InterpolationValue&& other)
: interpolableValue(std::move(other.interpolableValue)),
- nonInterpolableValue(other.nonInterpolableValue.release()) {}
+ nonInterpolableValue(std::move(other.nonInterpolableValue)) {}
void operator=(InterpolationValue&& other) {
interpolableValue = std::move(other.interpolableValue);
- nonInterpolableValue = other.nonInterpolableValue.release();
+ nonInterpolableValue = std::move(other.nonInterpolableValue);
}
operator bool() const { return interpolableValue.get(); }

Powered by Google App Engine
This is Rietveld 408576698