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

Unified Diff: third_party/WebKit/Source/core/animation/InterpolableValue.cpp

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/InterpolableValue.cpp
diff --git a/third_party/WebKit/Source/core/animation/InterpolableValue.cpp b/third_party/WebKit/Source/core/animation/InterpolableValue.cpp
index d5a4c5da0969a1e9922b9b12a8fd793237eb093e..084ecf872d1528bf54715c84fea717f8996105a0 100644
--- a/third_party/WebKit/Source/core/animation/InterpolableValue.cpp
+++ b/third_party/WebKit/Source/core/animation/InterpolableValue.cpp
@@ -67,7 +67,7 @@ PassOwnPtr<InterpolableValue> InterpolableList::cloneAndZero() const
OwnPtr<InterpolableList> result = InterpolableList::create(m_size);
for (size_t i = 0; i < m_size; i++)
result->set(i, m_values[i]->cloneAndZero());
- return result.release();
+ return std::move(result);
}
void InterpolableNumber::scale(double scale)

Powered by Google App Engine
This is Rietveld 408576698