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

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

Issue 547823002: Track reasons for |Node::SetNeedsStyleRecalc| (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: reasons as tuple 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/SVGCursorElement.cpp
diff --git a/Source/core/svg/SVGCursorElement.cpp b/Source/core/svg/SVGCursorElement.cpp
index 91d5343cea47824e97405fd761aaf41412cca2d3..0f8bd25ffd6d033a19052d1e7578eda7ae56372c 100644
--- a/Source/core/svg/SVGCursorElement.cpp
+++ b/Source/core/svg/SVGCursorElement.cpp
@@ -117,7 +117,7 @@ void SVGCursorElement::svgAttributeChanged(const QualifiedName& attrName)
WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >::const_iterator end = m_clients.end();
for (; it != end; ++it)
- (*it)->setNeedsStyleRecalc(SubtreeStyleChange);
+ (*it)->setNeedsStyleRecalc(StyleChangeReasonForTracing::create(StyleChangeReason::SVGCursor), SubtreeStyleChange);
}
void SVGCursorElement::trace(Visitor* visitor)

Powered by Google App Engine
This is Rietveld 408576698