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

Unified Diff: Source/core/svg/SVGForeignObjectElement.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/SVGForeignObjectElement.cpp
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp
index 71195324621f2e170635defa42350c00f66db849..1c8d56f19b86aef2bff3e47f491ab97ebd7a0844 100644
--- a/Source/core/svg/SVGForeignObjectElement.cpp
+++ b/Source/core/svg/SVGForeignObjectElement.cpp
@@ -97,7 +97,7 @@ void SVGForeignObjectElement::svgAttributeChanged(const QualifiedName& attrName)
if (attrName == SVGNames::widthAttr || attrName == SVGNames::heightAttr) {
invalidateSVGPresentationAttributeStyle();
- setNeedsStyleRecalc(LocalStyleChange);
+ setNeedsStyleRecalc(StyleChangeReasonForTracing::SVGContainerSizeChange, LocalStyleChange);
}
SVGElement::InvalidationGuard invalidationGuard(this);

Powered by Google App Engine
This is Rietveld 408576698