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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 f109581bbcab314b4df771847543d572d778402e..68a7a91d577bf6f4f2ff9d0679fec2c646ed0c98 100644
--- a/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.cpp
+++ b/third_party/WebKit/Source/core/animation/UnderlyingValueOwner.cpp
@@ -4,8 +4,6 @@
#include "core/animation/UnderlyingValueOwner.h"
-#include <memory>
-
namespace blink {
struct NullValueWrapper {
@@ -44,7 +42,7 @@ void UnderlyingValueOwner::set(const InterpolationType& type, InterpolationValue
m_value = &m_valueOwner;
}
-void UnderlyingValueOwner::set(std::unique_ptr<TypedInterpolationValue> value)
+void UnderlyingValueOwner::set(PassOwnPtr<TypedInterpolationValue> value)
{
if (value)
set(value->type(), std::move(value->mutableValue()));

Powered by Google App Engine
This is Rietveld 408576698