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

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: Rebase 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
« no previous file with comments | « Source/core/layout/svg/LayoutSVGResourceContainer.cpp ('k') | Source/core/layout/svg/SVGLayoutSupport.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGRoot.h
diff --git a/Source/core/layout/svg/LayoutSVGRoot.h b/Source/core/layout/svg/LayoutSVGRoot.h
index d7996338427de71820e7d289da2edfab18db7c1d..d2bb480f44e376c1173ea56941a2534e8e1af63f 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;
}
« no previous file with comments | « Source/core/layout/svg/LayoutSVGResourceContainer.cpp ('k') | Source/core/layout/svg/SVGLayoutSupport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698