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

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

Issue 2854213004: Update layer size from LayoutBox::UpdateAfterLayout (Closed)
Patch Set: rebase Created 3 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: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
index e8aab8d30d64b56c8f869bc292201f203725f280..77a7950d0a7dd47c71b11c7fe72eee01393780bd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
@@ -332,6 +332,7 @@ void LayoutBoxModelObject::StyleDidChange(StyleDifference diff,
CreateLayerAfterStyleChange();
if (Parent() && !NeedsLayout()) {
// FIXME: We should call a specialized versions of this function.
bokan 2017/05/12 15:58:18 The FIXME should be moved down since it refers to
szager1 2017/05/12 19:12:12 The comment was added here: https://codereview.ch
skobes 2017/05/16 22:22:22 I'm guessing the former (not after layout).
+ Layer()->UpdateSize();
Layer()->UpdateLayerPositionsAfterLayout();
}
}

Powered by Google App Engine
This is Rietveld 408576698