| Index: third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
|
| index 4abf49a6446f624a73cec22eb4c0943c17a43868..476e677419ce6f283723a2f778a3ddc9c382ebe0 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGTextQuery.cpp
|
| @@ -105,9 +105,9 @@ typedef bool ProcessTextFragmentCallback(QueryData*, const SVGTextFragment&);
|
| static bool queryTextBox(QueryData* queryData, const SVGInlineTextBox* textBox, ProcessTextFragmentCallback fragmentCallback)
|
| {
|
| queryData->textBox = textBox;
|
| - queryData->textLineLayout = LineLayoutSVGInlineText(&toLayoutSVGInlineText(textBox->layoutObject()));
|
| + queryData->textLineLayout = LineLayoutSVGInlineText(textBox->lineLayoutItem());
|
|
|
| - queryData->isVerticalText = !textBox->layoutObject().style()->isHorizontalWritingMode();
|
| + queryData->isVerticalText = !queryData->textLineLayout.style()->isHorizontalWritingMode();
|
|
|
| // Loop over all text fragments in this text box, firing a callback for each.
|
| for (const SVGTextFragment& fragment : textBox->textFragments()) {
|
|
|