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

Unified Diff: third_party/WebKit/Source/core/animation/TypedInterpolationValue.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/TypedInterpolationValue.h
diff --git a/third_party/WebKit/Source/core/animation/TypedInterpolationValue.h b/third_party/WebKit/Source/core/animation/TypedInterpolationValue.h
index dc92019ae8f402c0089bf6c579e06be46efa532d..993ddf9dfb7445f542c8aa8703afe7ee851e1dec 100644
--- a/third_party/WebKit/Source/core/animation/TypedInterpolationValue.h
+++ b/third_party/WebKit/Source/core/animation/TypedInterpolationValue.h
@@ -22,7 +22,7 @@ public:
PassOwnPtr<TypedInterpolationValue> clone() const
{
InterpolationValue copy = m_value.clone();
- return create(m_type, copy.interpolableValue.release(), copy.nonInterpolableValue.release());
+ return create(m_type, std::move(copy.interpolableValue), copy.nonInterpolableValue.release());
}
const InterpolationType& type() const { return m_type; }

Powered by Google App Engine
This is Rietveld 408576698