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

Unified Diff: Source/core/layout/svg/LayoutSVGInlineText.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/layout/svg/LayoutSVGInlineText.cpp
diff --git a/Source/core/layout/svg/LayoutSVGInlineText.cpp b/Source/core/layout/svg/LayoutSVGInlineText.cpp
index f5cfc35ed37dd33181d16c3975bb4df0405aaf74..ad6e14896bb216e889739fce1985888bb2300147 100644
--- a/Source/core/layout/svg/LayoutSVGInlineText.cpp
+++ b/Source/core/layout/svg/LayoutSVGInlineText.cpp
@@ -90,7 +90,7 @@ void LayoutSVGInlineText::styleDidChange(StyleDifference diff, const LayoutStyle
// The text metrics may be influenced by style changes.
if (LayoutSVGText* textLayoutObject = LayoutSVGText::locateLayoutSVGTextAncestor(this))
- textLayoutObject->setNeedsLayoutAndFullPaintInvalidation();
+ textLayoutObject->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::StyleChange);
}
InlineTextBox* LayoutSVGInlineText::createTextBox(int start, unsigned short length)

Powered by Google App Engine
This is Rietveld 408576698