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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 2383113003: Refactor ScrollableArea::setScrollPosition. (Closed)
Patch Set: Fix clamping, comment tweaks 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/layout/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index eec2891efc9e3a2cba7012371b93c07dfbb279de..426fe4ed246d2aa856b7670cefd607aa00f5b979 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -553,8 +553,7 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
void scrollToOffset(const DoubleSize&,
ScrollBehavior = ScrollBehaviorInstant);
- void scrollByRecursively(const DoubleSize& delta,
- ScrollOffsetClamping = ScrollOffsetUnclamped);
+ void scrollByRecursively(const DoubleSize& delta);
// If makeVisibleInVisualViewport is set, the visual viewport will be scrolled
// if required to make the rect visible.
void scrollRectToVisible(const LayoutRect&,

Powered by Google App Engine
This is Rietveld 408576698