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

Unified Diff: Source/core/layout/svg/LayoutSVGRoot.h

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/svg/LayoutSVGRoot.h
diff --git a/Source/core/layout/svg/LayoutSVGRoot.h b/Source/core/layout/svg/LayoutSVGRoot.h
index 0875b58f414d88d49a8a0c0d5527eb14bd660734..a51b9f78b48bdd62d3cfa7e797905ec9af756cee 100644
--- a/Source/core/layout/svg/LayoutSVGRoot.h
+++ b/Source/core/layout/svg/LayoutSVGRoot.h
@@ -58,7 +58,7 @@ public:
// and we need that layout to know of the new size otherwise
// the layout may be incorrectly using the old size.
if (m_containerSize != containerSize)
- setNeedsLayoutAndFullPaintInvalidation();
+ setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::SizeChanged);
m_containerSize = containerSize;
}

Powered by Google App Engine
This is Rietveld 408576698