Index: third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/TouchActionTest.cpp b/third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
index 494020d1a8a391f8014cdf33609940a58793fffe..a52457e457e15690d8fa03d105095f0c6922f3d9 100644 |
--- a/third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
@@ -204,8 +204,8 @@ WebView* TouchActionTest::setupTest(std::string file, |
// Scroll to verify the code properly transforms windows to client co-ords. |
const int kScrollOffset = 100; |
Document* document = static_cast<Document*>(webView->mainFrame()->document()); |
- document->frame()->view()->setScrollPosition(IntPoint(0, kScrollOffset), |
- ProgrammaticScroll); |
+ document->frame()->view()->setScrollOffset(ScrollOffset(0, kScrollOffset), |
+ ProgrammaticScroll); |
return webView; |
} |