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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp

Issue 1897263002: Hoist transformToRootChanged() out of SVGLayoutSupport::layoutChildren (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@svg-container-layout-cleanup-1
Patch Set: Created 4 years, 8 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/svg/LayoutSVGRoot.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
index 6cf4d08fb880f6175909b08318e6f86c91c4cdf2..ffed0927bdf87288d605175702123a1bf8c41066 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
@@ -155,7 +155,8 @@ void LayoutSVGRoot::layout()
// applied to it, we need to issue paint invalidations for all descendants.
bool forceLayoutOfChildren = needsLayout
|| (normalChildNeedsLayout() && SVGLayoutSupport::hasFilterResource(*this));
- SVGLayoutSupport::layoutChildren(this, forceLayoutOfChildren);
+ const bool transformToRootChanged = false;
+ SVGLayoutSupport::layoutChildren(this, forceLayoutOfChildren, transformToRootChanged);
if (m_needsBoundariesOrTransformUpdate) {
updateCachedBoundaries();

Powered by Google App Engine
This is Rietveld 408576698