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