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

Unified Diff: Source/core/layout/LayoutBoxModelObject.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/LayoutBoxModelObject.cpp
diff --git a/Source/core/layout/LayoutBoxModelObject.cpp b/Source/core/layout/LayoutBoxModelObject.cpp
index 7f7e52dab4b00821c2d0e9d6cc0a33e551e49f5e..8280bdf233f974b2216748a302ba40bff42180cf 100644
--- a/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/Source/core/layout/LayoutBoxModelObject.cpp
@@ -184,7 +184,7 @@ void LayoutBoxModelObject::styleDidChange(StyleDifference diff, const LayoutStyl
if (s_wasFloating && isFloating())
setChildNeedsLayout();
if (hadTransform)
- setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
+ setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::StyleChange);
}
if (layer()) {

Powered by Google App Engine
This is Rietveld 408576698