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

Unified Diff: Source/core/svg/SVGPatternElement.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/SVGPatternElement.cpp
diff --git a/Source/core/svg/SVGPatternElement.cpp b/Source/core/svg/SVGPatternElement.cpp
index 992a79f6caa68c463764253694282e30d0a36b03..9827e874f892b1408ac414bc14dcf3cf34058ee9 100644
--- a/Source/core/svg/SVGPatternElement.cpp
+++ b/Source/core/svg/SVGPatternElement.cpp
@@ -116,7 +116,7 @@ void SVGPatternElement::childrenChanged(const ChildrenChange& change)
return;
if (LayoutObject* object = layoutObject())
- object->setNeedsLayoutAndFullPaintInvalidation();
+ object->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::ChildChanged);
}
LayoutObject* SVGPatternElement::createLayoutObject(const LayoutStyle&)

Powered by Google App Engine
This is Rietveld 408576698