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

Unified Diff: third_party/WebKit/Source/core/frame/FrameViewTest.cpp

Issue 2387883002: Use float for scroll offset. (Closed)
Patch Set: Fix README.md Created 4 years, 2 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/core/frame/FrameViewTest.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameViewTest.cpp b/third_party/WebKit/Source/core/frame/FrameViewTest.cpp
index ae31aae7596601813fb779bb43480f88fb1a76db..69a9db1b9826ab30346321b6774b51d9c9390247 100644
--- a/third_party/WebKit/Source/core/frame/FrameViewTest.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameViewTest.cpp
@@ -119,8 +119,8 @@ TEST_P(FrameViewTest, HideTooltipWhenScrollPositionChanges) {
document().view()->updateAllLifecyclePhases();
EXPECT_CALL(chromeClient(), mockSetToolTip(document().frame(), String(), _));
- document().view()->layoutViewportScrollableArea()->setScrollPosition(
- DoublePoint(1, 1), UserScroll);
+ document().view()->layoutViewportScrollableArea()->setScrollOffset(
+ ScrollOffset(1, 1), UserScroll);
}
// NoOverflowInIncrementVisuallyNonEmptyPixelCount tests fail if the number of
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698