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

Unified Diff: third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.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/platform/animation/CompositorTransformKeyframe.h
diff --git a/third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.h b/third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.h
index 4188a38f91b2518df979ab19c63aeba3fed9fd42..1eeecd6b6f4537c26a0d70f1f408966aa90deb07 100644
--- a/third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.h
+++ b/third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.h
@@ -8,15 +8,14 @@
#include "platform/PlatformExport.h"
#include "platform/animation/CompositorTransformOperations.h"
#include "wtf/Noncopyable.h"
-#include "wtf/OwnPtr.h"
-#include "wtf/PassOwnPtr.h"
+#include <memory>
namespace blink {
class PLATFORM_EXPORT CompositorTransformKeyframe {
WTF_MAKE_NONCOPYABLE(CompositorTransformKeyframe);
public:
- CompositorTransformKeyframe(double time, PassOwnPtr<CompositorTransformOperations> value);
+ CompositorTransformKeyframe(double time, std::unique_ptr<CompositorTransformOperations> value);
~CompositorTransformKeyframe();
double time() const;
@@ -24,7 +23,7 @@ public:
private:
double m_time;
- OwnPtr<CompositorTransformOperations> m_value;
+ std::unique_ptr<CompositorTransformOperations> m_value;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698