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

Unified Diff: Source/core/layout/LayoutFieldset.cpp

Issue 1025213002: Begin tracking why layout is invalidated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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: Source/core/layout/LayoutFieldset.cpp
diff --git a/Source/core/layout/LayoutFieldset.cpp b/Source/core/layout/LayoutFieldset.cpp
index ecd61e67a409a040b310f86a089775ac5ffbbccf..96e01e150698a2f6cc8c9a827598f56fc8b53abd 100644
--- a/Source/core/layout/LayoutFieldset.cpp
+++ b/Source/core/layout/LayoutFieldset.cpp
@@ -67,7 +67,7 @@ LayoutObject* LayoutFieldset::layoutSpecialExcludedChild(bool relayoutChildren,
LayoutBox* legend = findLegend();
if (legend) {
if (relayoutChildren)
- legend->setNeedsLayoutAndFullPaintInvalidation();
+ legend->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::FieldsetChanged);
legend->layoutIfNeeded();
LayoutUnit logicalLeft;

Powered by Google App Engine
This is Rietveld 408576698