Index: Source/core/rendering/svg/SVGInlineTextBox.cpp |
diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
index 6c593827328184060c621e77e68905e85d71390c..e6a27f6de3ca698bcb5d2bb854b99a34f2e3c59f 100644 |
--- a/Source/core/rendering/svg/SVGInlineTextBox.cpp |
+++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
@@ -218,13 +218,6 @@ void SVGInlineTextBox::paintSelectionBackground(PaintInfo& paintInfo) |
RenderStyle* style = parentRenderer->style(); |
ASSERT(style); |
- RenderStyle* selectionStyle = style; |
- if (hasSelection) { |
- selectionStyle = parentRenderer->getCachedPseudoStyle(SELECTION); |
- if (!selectionStyle) |
- selectionStyle = style; |
- } |
- |
int startPosition, endPosition; |
selectionStartEnd(startPosition, endPosition); |