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

Unified Diff: Source/core/svg/SVGGradientElement.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/SVGGradientElement.cpp
diff --git a/Source/core/svg/SVGGradientElement.cpp b/Source/core/svg/SVGGradientElement.cpp
index b65d841e5669c4cceece200ea425990e65121c89..b4632d365073950f18fed358f64db1fd20ce1c22 100644
--- a/Source/core/svg/SVGGradientElement.cpp
+++ b/Source/core/svg/SVGGradientElement.cpp
@@ -98,7 +98,7 @@ void SVGGradientElement::childrenChanged(const ChildrenChange& change)
return;
if (LayoutObject* object = layoutObject())
- object->setNeedsLayoutAndFullPaintInvalidation();
+ object->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::ChildChanged);
}
Vector<Gradient::ColorStop> SVGGradientElement::buildStops()

Powered by Google App Engine
This is Rietveld 408576698