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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp

Issue 2387883002: Use float for scroll offset. (Closed)
Patch Set: 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/LayoutDeprecatedFlexibleBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
index 94b545003a8837387098f65a4587e5997ceb294f..017e3869d901851659783ca5d9faba85c3b79eb2 100644
--- a/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp
@@ -452,7 +452,7 @@ void LayoutDeprecatedFlexibleBox::layoutHorizontalBox(bool relayoutChildren) {
gatherFlexChildrenInfo(iterator, relayoutChildren, highestFlexGroup,
lowestFlexGroup, haveFlex);
- PaintLayerScrollableArea::DelayScrollPositionClampScope delayClampScope;
+ PaintLayerScrollableArea::DelayScrollOffsetClampScope delayClampScope;
// We do 2 passes. The first pass is simply to lay everyone out at
// their preferred widths. The second pass handles flexing the children.
@@ -787,7 +787,7 @@ void LayoutDeprecatedFlexibleBox::layoutVerticalBox(bool relayoutChildren) {
if (haveLineClamp)
applyLineClamp(iterator, relayoutChildren);
- PaintLayerScrollableArea::DelayScrollPositionClampScope delayClampScope;
+ PaintLayerScrollableArea::DelayScrollOffsetClampScope delayClampScope;
// We do 2 passes. The first pass is simply to lay everyone out at
// their preferred widths. The second pass handles flexing the children.

Powered by Google App Engine
This is Rietveld 408576698