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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFlexibleBox.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/LayoutFlexibleBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
index 58d0d21a23198ca623331f6759b9381ba4e83fc0..8ba2d16a973630785d51a15859ccf2e6088996ea 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
@@ -388,7 +388,7 @@ void LayoutFlexibleBox::layoutBlock(bool relayoutChildren) {
LayoutUnit previousHeight = logicalHeight();
setLogicalHeight(borderAndPaddingLogicalHeight() + scrollbarLogicalHeight());
- PaintLayerScrollableArea::DelayScrollPositionClampScope delayClampScope;
+ PaintLayerScrollableArea::DelayScrollOffsetClampScope delayClampScope;
{
TextAutosizer::LayoutScope textAutosizerLayoutScope(this, &layoutScope);

Powered by Google App Engine
This is Rietveld 408576698