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

Unified Diff: Source/core/layout/LayoutBox.cpp

Issue 1161713004: Rename ScrollableArea::scroll to userScroll (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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: Source/core/layout/LayoutBox.cpp
diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp
index 0dc69e022b5e13d8e96858008db145adf629eb62..f4d5e0262ec6aec3b369f1fedcd97667ca2dfad0 100644
--- a/Source/core/layout/LayoutBox.cpp
+++ b/Source/core/layout/LayoutBox.cpp
@@ -707,7 +707,7 @@ bool LayoutBox::scroll(ScrollDirectionPhysical direction, ScrollGranularity gran
if (!layer() || !layer()->scrollableArea())
return false;
- return layer()->scrollableArea()->scroll(direction, granularity, delta);
+ return layer()->scrollableArea()->userScroll(direction, granularity, delta);
}
bool LayoutBox::canBeScrolledAndHasScrollableArea() const

Powered by Google App Engine
This is Rietveld 408576698