Index: Source/core/rendering/svg/RenderSVGInlineText.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGInlineText.cpp b/Source/core/rendering/svg/RenderSVGInlineText.cpp |
index 72d6ee23d4cfc917141267e86f4e913d689107d5..e8041f8c1c21b7ccc6d114d3bac1cc76cffbe7a3 100644 |
--- a/Source/core/rendering/svg/RenderSVGInlineText.cpp |
+++ b/Source/core/rendering/svg/RenderSVGInlineText.cpp |
@@ -27,7 +27,6 @@ |
#include "core/css/CSSFontSelector.h" |
#include "core/css/FontSize.h" |
-#include "core/css/resolver/StyleResolver.h" |
#include "core/editing/VisiblePosition.h" |
#include "core/rendering/svg/RenderSVGText.h" |
#include "core/rendering/svg/SVGInlineTextBox.h" |
@@ -237,7 +236,7 @@ void RenderSVGInlineText::computeNewScaledFontForStyle(RenderObject* renderer, c |
fontDescription.setComputedSize(FontSize::getComputedSizeFromSpecifiedSize(&document, scalingFactor, fontDescription.isAbsoluteSize(), fontDescription.specifiedSize(), DoNotUseSmartMinimumForFontSize)); |
scaledFont = Font(fontDescription, 0, 0); |
- scaledFont.update(document.ensureStyleResolver().fontSelector()); |
+ scaledFont.update(document.styleEngine()->fontSelector()); |
} |
} |