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

Unified Diff: third_party/WebKit/Source/core/animation/StyleInterpolation.h

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/StyleInterpolation.h
diff --git a/third_party/WebKit/Source/core/animation/StyleInterpolation.h b/third_party/WebKit/Source/core/animation/StyleInterpolation.h
index 74b677464ce0c91f7e2b02c36acd12a33c9d19f4..3317039d022538c1000a41316a09a274877f06dd 100644
--- a/third_party/WebKit/Source/core/animation/StyleInterpolation.h
+++ b/third_party/WebKit/Source/core/animation/StyleInterpolation.h
@@ -9,6 +9,7 @@
#include "core/CoreExport.h"
#include "core/animation/Interpolation.h"
#include "core/animation/PropertyHandle.h"
+#include <memory>
namespace blink {
@@ -47,7 +48,7 @@ public:
protected:
CSSPropertyID m_id;
- StyleInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, CSSPropertyID id)
+ StyleInterpolation(std::unique_ptr<InterpolableValue> start, std::unique_ptr<InterpolableValue> end, CSSPropertyID id)
: Interpolation(std::move(start), std::move(end))
, m_id(id)
{

Powered by Google App Engine
This is Rietveld 408576698