Index: third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h |
index d0cecc2aff2c1d488e4a59013cf1b73154506f8b..bf111dd4e8ff80e460471c8a7012756c1c366eca 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h |
@@ -16,7 +16,7 @@ |
#include "platform/scroll/ScrollTypes.h" |
#include "wtf/Allocator.h" |
#include "wtf/Noncopyable.h" |
-#include <memory> |
+#include "wtf/OwnPtr.h" |
namespace blink { |
@@ -63,7 +63,7 @@ protected: |
IntSize implOnlyAnimationAdjustmentForTesting() { return m_implOnlyAnimationAdjustment; } |
void resetAnimationIds(); |
- bool addAnimation(std::unique_ptr<CompositorAnimation>); |
+ bool addAnimation(PassOwnPtr<CompositorAnimation>); |
void removeAnimation(); |
virtual void abortAnimation(); |
@@ -139,7 +139,7 @@ protected: |
RunningOnCompositorButNeedsAdjustment, |
}; |
- std::unique_ptr<CompositorAnimationPlayer> m_compositorPlayer; |
+ OwnPtr<CompositorAnimationPlayer> m_compositorPlayer; |
int m_compositorAnimationAttachedToLayerId; |
RunState m_runState; |
int m_compositorAnimationId; |