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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.h

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/page/scrolling/ViewportScrollCallback.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.h b/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.h
index a916d24f295a80a181f0c46948d99b18f60d45ef..acf095b8e158fb0a2150df3262d3d5c7d6fc6b3b 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.h
+++ b/third_party/WebKit/Source/core/page/scrolling/ViewportScrollCallback.h
@@ -56,7 +56,7 @@ class ViewportScrollCallback : public ScrollStateCallback {
OverscrollController*,
RootFrameViewport&);
- bool shouldScrollTopControls(const FloatSize&, ScrollGranularity) const;
+ bool shouldScrollTopControls(const ScrollOffset&, ScrollGranularity) const;
bool scrollTopControls(ScrollState&);
ScrollResult performNativeScroll(ScrollState&);

Powered by Google App Engine
This is Rietveld 408576698