Index: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp |
index 08c88645d8e095511f00f58c4e37968e6eb164f1..871b6197f73fef5b98ca515608be9ce13e4c295a 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp |
@@ -210,7 +210,7 @@ TEST_F(GraphicsLayerTest, applyScrollToScrollableArea) { |
WebDoublePoint scrollPosition(7, 9); |
m_platformLayer->setScrollPositionDouble(scrollPosition); |
wkorman
2017/02/07 22:18:05
Do we still need to do this? It looks like this wa
pdr.
2017/02/08 03:53:55
Good catch, these are no longer needed.
|
- m_graphicsLayer->didScroll(); |
+ scrollableArea->didScroll(gfx::ScrollOffset(7, 9)); |
EXPECT_FLOAT_EQ(scrollPosition.x, scrollableArea->getScrollOffset().width()); |
EXPECT_FLOAT_EQ(scrollPosition.y, scrollableArea->getScrollOffset().height()); |