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

Unified Diff: sky/engine/core/rendering/RenderFlexibleBox.cpp

Issue 877043002: Remove RenderLayerScrollableArea (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/rendering/RenderBox.cpp ('k') | sky/engine/core/rendering/RenderLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderFlexibleBox.cpp
diff --git a/sky/engine/core/rendering/RenderFlexibleBox.cpp b/sky/engine/core/rendering/RenderFlexibleBox.cpp
index ab3ad84fe9c98825914cfed384e423fefed2369f..38a0cc4db0cf6f513ae2f7caf109f387af011e0e 100644
--- a/sky/engine/core/rendering/RenderFlexibleBox.cpp
+++ b/sky/engine/core/rendering/RenderFlexibleBox.cpp
@@ -229,8 +229,6 @@ void RenderFlexibleBox::layout()
m_numberOfInFlowChildrenOnFirstLine = -1;
- RenderBlock::startDelayUpdateScrollInfo();
-
prepareOrderIteratorAndMargins();
ChildFrameRects oldChildRects;
@@ -238,8 +236,6 @@ void RenderFlexibleBox::layout()
layoutFlexItems(relayoutChildren);
- RenderBlock::finishDelayUpdateScrollInfo();
-
if (logicalHeight() != previousHeight)
relayoutChildren = true;
@@ -251,10 +247,6 @@ void RenderFlexibleBox::layout()
updateLayerTransformAfterLayout();
- // Update our scroll information if we're overflow:auto/scroll/hidden now that we know if
- // we overflow or not.
- updateScrollInfoAfterLayout();
-
clearNeedsLayout();
}
« no previous file with comments | « sky/engine/core/rendering/RenderBox.cpp ('k') | sky/engine/core/rendering/RenderLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698