Index: third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp |
index 6b219ce45259d345e90cdd6a2b445c4088a1bcc5..6fce2694e3ca1b84854ad9e66b8c16386b691de7 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp |
@@ -40,8 +40,6 @@ |
#include "public/platform/WebCompositorSupport.h" |
#include "wtf/CurrentTime.h" |
#include "wtf/PassRefPtr.h" |
-#include "wtf/PtrUtil.h" |
-#include <memory> |
namespace blink { |
@@ -269,7 +267,7 @@ bool ScrollAnimator::sendAnimationToCompositor() |
if (m_scrollableArea->shouldScrollOnMainThread()) |
return false; |
- std::unique_ptr<CompositorAnimation> animation = CompositorAnimation::create(*m_animationCurve, CompositorTargetProperty::SCROLL_OFFSET, 0, 0); |
+ OwnPtr<CompositorAnimation> animation = CompositorAnimation::create(*m_animationCurve, CompositorTargetProperty::SCROLL_OFFSET, 0, 0); |
// Being here means that either there is an animation that needs |
// to be sent to the compositor, or an animation that needs to |
// be updated (a new scroll event before the previous animation |