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

Unified Diff: third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.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/platform/animation/CompositorTransformKeyframe.cpp
diff --git a/third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.cpp b/third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.cpp
index 0bcc1d260d17c59fc17f4f2f826b378e9e4724cd..dc7e32a0b818b342ce0dbb9ce6e84da089c76381 100644
--- a/third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.cpp
+++ b/third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.cpp
@@ -4,11 +4,9 @@
#include "platform/animation/CompositorTransformKeyframe.h"
-#include <memory>
-
namespace blink {
-CompositorTransformKeyframe::CompositorTransformKeyframe(double time, std::unique_ptr<CompositorTransformOperations> value)
+CompositorTransformKeyframe::CompositorTransformKeyframe(double time, PassOwnPtr<CompositorTransformOperations> value)
: m_time(time)
, m_value(std::move(value))
{

Powered by Google App Engine
This is Rietveld 408576698