Chromium Code Reviews| Index: Source/core/rendering/svg/SVGInlineTextBox.cpp |
| diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
| index 685fa18419dd2de509fbb0300a94e1c681e188cb..044faf0e897db258e2987301d2c594926568ffa2 100644 |
| --- a/Source/core/rendering/svg/SVGInlineTextBox.cpp |
| +++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
| @@ -68,6 +68,12 @@ void SVGInlineTextBox::dirtyLineBoxes() |
| // Clear the now stale text fragments |
| clearTextFragments(); |
| + |
| + // And clear any following text fragments as the text on which they |
| + // depend may now no longer exist. |
| + InlineTextBox* nextBox = nextTextBox(); |
| + if (nextBox && nextBox->isSVGInlineTextBox()) |
|
leviw_travelin_and_unemployed
2013/05/14 23:43:41
Will nextBox ever be anything but an SVGInlineText
Stephen Chennney
2013/05/15 00:46:37
I agree it is. And it can't really hurt if it isn'
|
| + nextBox->dirtyLineBoxes(); |
| } |
| int SVGInlineTextBox::offsetForPosition(float, bool) const |