Index: Source/core/rendering/TextRunConstructor.cpp |
diff --git a/Source/core/rendering/TextRunConstructor.cpp b/Source/core/rendering/TextRunConstructor.cpp |
index 3bba54cf1a4cfcd4e9cc6e7fbbda2593d31c609d..cc9f6c4b5225fb6401ae80032ef1045aeb000a30 100644 |
--- a/Source/core/rendering/TextRunConstructor.cpp |
+++ b/Source/core/rendering/TextRunConstructor.cpp |
@@ -33,7 +33,6 @@ |
#include "core/rendering/RenderText.h" |
#include "core/rendering/style/RenderStyle.h" |
-#include "core/rendering/svg/SVGTextRunRenderingContext.h" |
#include "platform/text/BidiTextRun.h" |
namespace blink { |
@@ -45,9 +44,6 @@ static inline TextRun constructTextRunInternal(RenderObject* context, const Font |
bool directionalOverride = style->rtlOrdering() == VisualOrder; |
TextRun run(characters, length, 0, 0, expansion, direction, directionalOverride); |
- if (textRunNeedsRenderingContext(font)) |
- run.setRenderingContext(SVGTextRunRenderingContext::create(context)); |
- |
return run; |
} |
@@ -66,9 +62,6 @@ static inline TextRun constructTextRunInternal(RenderObject* context, const Font |
} |
TextRun run(characters, length, 0, 0, expansion, textDirection, directionalOverride); |
- if (textRunNeedsRenderingContext(font)) |
- run.setRenderingContext(SVGTextRunRenderingContext::create(context)); |
- |
return run; |
} |