Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
index 5671072a4e559e65d3b321801cdc8a1171a8ece2..838f43c94f46575b73b59a57a9b27f6624764690 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
@@ -203,7 +203,7 @@ void LayoutSVGText::layout() |
// scale factor has changed, then recompute the on-screen font size. Since |
// the computation of layout attributes uses the text metrics, we need to |
// update them before updating the layout attributes. |
- if (m_needsTextMetricsUpdate || SVGLayoutSupport::findTreeRootObject(this)->isLayoutSizeChanged()) { |
+ if (m_needsTextMetricsUpdate) { |
updateFontAndMetrics(*this); |
m_needsTextMetricsUpdate = false; |
updateParentBoundaries = true; |