Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1872)

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp

Issue 2676923002: End-to-end prototype of compositor scrolling with slimming paint v2 (Closed)
Patch Set: Add SPV2 test of didScroll callback Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
- 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());

Powered by Google App Engine
This is Rietveld 408576698