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

Unified Diff: third_party/WebKit/Source/core/animation/UnderlyingValueOwner.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/UnderlyingValueOwner.cpp
diff --git a/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.cpp b/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.cpp
index 68a7a91d577bf6f4f2ff9d0679fec2c646ed0c98..f109581bbcab314b4df771847543d572d778402e 100644
--- a/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.cpp
+++ b/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.cpp
@@ -4,6 +4,8 @@
#include "core/animation/UnderlyingValueOwner.h"
+#include <memory>
+
namespace blink {
struct NullValueWrapper {
@@ -42,7 +44,7 @@ void UnderlyingValueOwner::set(const InterpolationType& type, InterpolationValue
m_value = &m_valueOwner;
}
-void UnderlyingValueOwner::set(PassOwnPtr<TypedInterpolationValue> value)
+void UnderlyingValueOwner::set(std::unique_ptr<TypedInterpolationValue> value)
{
if (value)
set(value->type(), std::move(value->mutableValue()));

Powered by Google App Engine
This is Rietveld 408576698