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

Unified Diff: third_party/WebKit/Source/web/tests/TopControlsTest.cpp

Issue 1755773002: Pass the physical scroll delta through the scroll customization path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@removeOneDimensionalScrolls
Patch Set: Updated LayoutTest Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/TopControlsTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/TopControlsTest.cpp b/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
index c7b5ff4ed60b7644a4e46b7ac87e943b91966c67..cdfd26de18e18319fefad3bcc99544a9c59fdb69 100644
--- a/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
+++ b/third_party/WebKit/Source/web/tests/TopControlsTest.cpp
@@ -348,7 +348,7 @@ TEST_F(TopControlsTest, MAYBE(FloatingPointSlippage))
// This will result in a 20px scroll to the top controls so the show ratio
// will be 30/50 == 0.6 which is not representible in a float. Make sure
// that scroll still consumes the whole delta.
- FloatSize remainingDelta = webView->topControls().scrollBy(FloatSize(0, -10));
+ FloatSize remainingDelta = webView->topControls().scrollBy(FloatSize(0, 10));
EXPECT_EQ(0, remainingDelta.height());
}
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698