Index: Source/core/rendering/svg/SVGInlineTextBox.cpp |
diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
index 4a1d5a0e92d48464bda75c7ed7318c03363b6084..4b47c8104d1dddea1fca84d863684a0c8b6dcfee 100644 |
--- a/Source/core/rendering/svg/SVGInlineTextBox.cpp |
+++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
@@ -34,7 +34,6 @@ |
#include "core/rendering/RenderInline.h" |
#include "core/rendering/RenderTheme.h" |
#include "core/rendering/svg/RenderSVGInlineText.h" |
-#include "core/rendering/svg/SVGTextRunRenderingContext.h" |
#include "platform/FloatConversion.h" |
#include "platform/fonts/FontCache.h" |
@@ -200,9 +199,6 @@ TextRun SVGInlineTextBox::constructTextRun(RenderStyle* style, const SVGTextFrag |
run.setText(text->characters16() + fragment.characterOffset, fragment.length); |
} |
- if (textRunNeedsRenderingContext(style->font())) |
- run.setRenderingContext(SVGTextRunRenderingContext::create(text)); |
- |
// We handle letter & word spacing ourselves. |
run.disableSpacing(); |