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

Unified Diff: Source/core/svg/SVGSVGElement.cpp

Issue 547823002: Track reasons for |Node::SetNeedsStyleRecalc| (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use const char[] Created 6 years, 3 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/SVGSVGElement.cpp
diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp
index 2f42fb966b6fd84b3a4256f6a7082b35ec2b8f14..78462416eab42b4ee62f3293293260c3e0b1af5a 100644
--- a/Source/core/svg/SVGSVGElement.cpp
+++ b/Source/core/svg/SVGSVGElement.cpp
@@ -300,7 +300,7 @@ void SVGSVGElement::svgAttributeChanged(const QualifiedName& attrName)
RenderObject* renderObject = renderer();
if (renderObject && renderObject->isSVGRoot()) {
invalidateSVGPresentationAttributeStyle();
- setNeedsStyleRecalc(LocalStyleChange);
+ setNeedsStyleRecalc(StyleChangeReasonForTracing::SVGContainerSizeChange, LocalStyleChange);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698