Index: Source/core/layout/TextAutosizer.cpp |
diff --git a/Source/core/layout/TextAutosizer.cpp b/Source/core/layout/TextAutosizer.cpp |
index ffa92f2e2017fae2f753b4afb00c13d7ad2e518b..9291692765f51d0e88fddee52ea52c7c86103ea1 100644 |
--- a/Source/core/layout/TextAutosizer.cpp |
+++ b/Source/core/layout/TextAutosizer.cpp |
@@ -584,7 +584,7 @@ void TextAutosizer::setAllTextNeedsLayout() |
LayoutObject* renderer = m_document->layoutView(); |
while (renderer) { |
if (renderer->isText()) |
- renderer->setNeedsLayoutAndFullPaintInvalidation(); |
+ renderer->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::TextAutosizing); |
renderer = renderer->nextInPreOrder(); |
} |
} |
@@ -985,7 +985,7 @@ void TextAutosizer::applyMultiplier(LayoutObject* renderer, float multiplier, Re |
m_stylesRetainedDuringLayout.append(¤tStyle); |
renderer->setStyleInternal(style.release()); |
- renderer->setNeedsLayoutAndFullPaintInvalidation(); |
+ renderer->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::TextAutosizing); |
break; |
case LayoutNeeded: |