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

Unified Diff: Source/core/svg/SVGElement.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/svg/SVGElement.cpp
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
index 9bc99d6f532cb87bf3dc2524a3a8a51183a20695..9ddd6974efc554557b11ec2bbe8c2820e3a4a42d 100644
--- a/Source/core/svg/SVGElement.cpp
+++ b/Source/core/svg/SVGElement.cpp
@@ -423,7 +423,7 @@ void SVGElement::invalidateRelativeLengthClients(SubtreeLayoutScope* layoutScope
if (renderer->isSVGResourceContainer())
toLayoutSVGResourceContainer(renderer)->invalidateCacheAndMarkForLayout(layoutScope);
else
- renderer->setNeedsLayoutAndFullPaintInvalidation(MarkContainerChain, layoutScope);
+ renderer->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::Unknown, MarkContainerChain, layoutScope);
}
for (SVGElement* element : m_elementsWithRelativeLengths) {

Powered by Google App Engine
This is Rietveld 408576698