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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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/Interpolation.cpp
diff --git a/third_party/WebKit/Source/core/animation/Interpolation.cpp b/third_party/WebKit/Source/core/animation/Interpolation.cpp
index 2a6012cb3259297293c481694a5f19f655763a47..87da640bc503a0349d8e9fc04b60739a5578e3f2 100644
--- a/third_party/WebKit/Source/core/animation/Interpolation.cpp
+++ b/third_party/WebKit/Source/core/animation/Interpolation.cpp
@@ -4,6 +4,8 @@
#include "core/animation/Interpolation.h"
+#include <memory>
+
namespace blink {
namespace {
@@ -33,7 +35,7 @@ bool typesMatch(const InterpolableValue* start, const InterpolableValue* end)
} // namespace
-Interpolation::Interpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end)
+Interpolation::Interpolation(std::unique_ptr<InterpolableValue> start, std::unique_ptr<InterpolableValue> end)
: m_start(std::move(start))
, m_end(std::move(end))
, m_cachedFraction(0)

Powered by Google App Engine
This is Rietveld 408576698