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

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

Issue 2816873002: Update PaintLayer size during layout, not after.
Patch Set: Speculatively remove call to UpdateScrollbars() Created 3 years, 8 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/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index a7bb1d945ba7d3aa3b828f6a662d7bb50a699d9c..9a2d450de33887ae1c580319f140c82fa3681335 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -411,11 +411,7 @@ void LayoutBlock::RemoveLeftoverAnonymousBlock(LayoutBlock* child) {
void LayoutBlock::UpdateAfterLayout() {
InvalidateStickyConstraints();
-
- // Update our scroll information if we're overflow:auto/scroll/hidden now that
- // we know if we overflow or not.
- if (HasOverflowClip())
- Layer()->GetScrollableArea()->UpdateAfterLayout();
+ LayoutBox::UpdateAfterLayout();
}
void LayoutBlock::UpdateLayout() {
@@ -690,8 +686,6 @@ bool LayoutBlock::SimplifiedLayout() {
ComputeOverflow(old_client_after_edge, true);
}
- UpdateLayerTransformAfterLayout();
-
UpdateAfterLayout();
ClearNeedsLayout();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.h ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698