Index: Source/web/tests/ScrollAnimatorNoneTest.cpp |
diff --git a/Source/web/tests/ScrollAnimatorNoneTest.cpp b/Source/web/tests/ScrollAnimatorNoneTest.cpp |
index c78b8704f06cf6d41f40261159039955a45d6b93..fc135b30d1b9933fdf75bdb0274b7f979b2070db 100644 |
--- a/Source/web/tests/ScrollAnimatorNoneTest.cpp |
+++ b/Source/web/tests/ScrollAnimatorNoneTest.cpp |
@@ -184,7 +184,7 @@ class ScrollAnimatorNoneTest : public testing::Test { |
public: |
struct SavePerAxisData : public ScrollAnimatorNone::PerAxisData { |
SavePerAxisData(const ScrollAnimatorNone::PerAxisData& data) |
- : ScrollAnimatorNone::PerAxisData(m_mockScrollAnimatorNone.get(), 0, 768) |
+ : ScrollAnimatorNone::PerAxisData(0, 768) |
, m_mockScrollableArea(true) |
, m_mockScrollAnimatorNone(MockScrollAnimatorNone::create(&m_mockScrollableArea)) |
{ |
@@ -221,7 +221,7 @@ public: |
virtual void SetUp() |
{ |
m_currentPosition = 100; |
- m_data = new ScrollAnimatorNone::PerAxisData(m_mockScrollAnimatorNone.get(), &m_currentPosition, 768); |
+ m_data = new ScrollAnimatorNone::PerAxisData(&m_currentPosition, 768); |
} |
virtual void TearDown() |
{ |