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

Unified Diff: Source/core/frame/RootFrameViewportTest.cpp

Issue 1195803003: Report accurate Overscroll on handleWheel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed unittest failures Created 5 years, 6 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
« no previous file with comments | « Source/core/frame/RootFrameViewport.cpp ('k') | Source/core/frame/Settings.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/RootFrameViewportTest.cpp
diff --git a/Source/core/frame/RootFrameViewportTest.cpp b/Source/core/frame/RootFrameViewportTest.cpp
index ca9271ff5ba418a490e51600e3b1490ce04cac7e..6b33435751742048d37b518a728b5c0e2e1454ea 100644
--- a/Source/core/frame/RootFrameViewportTest.cpp
+++ b/Source/core/frame/RootFrameViewportTest.cpp
@@ -495,8 +495,8 @@ TEST_F(RootFrameViewportTest, BasicWheelEvent)
EXPECT_TRUE(result.didScroll());
EXPECT_POINT_EQ(DoublePoint(50, 50), visualViewport.scrollPositionDouble());
EXPECT_POINT_EQ(DoublePoint(100, 200), layoutViewport.scrollPositionDouble());
- EXPECT_EQ(-350, result.unusedScrollDeltaX);
- EXPECT_EQ(-250, result.unusedScrollDeltaY);
+ EXPECT_EQ(350, result.unusedScrollDeltaX);
+ EXPECT_EQ(250, result.unusedScrollDeltaY);
}
} // namespace blink
« no previous file with comments | « Source/core/frame/RootFrameViewport.cpp ('k') | Source/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698