Index: Source/core/layout/svg/SVGTextQuery.cpp |
diff --git a/Source/core/layout/svg/SVGTextQuery.cpp b/Source/core/layout/svg/SVGTextQuery.cpp |
index 95c7f5b3d4022b7ed9df499d4c3b33b764f3cf3c..4fe79bcb8888b5b63004faab06ff01fbe1a4407b 100644 |
--- a/Source/core/layout/svg/SVGTextQuery.cpp |
+++ b/Source/core/layout/svg/SVGTextQuery.cpp |
@@ -90,7 +90,7 @@ void SVGTextQuery::collectTextBoxesInFlowBox(InlineFlowBox* flowBox) |
for (InlineBox* child = flowBox->firstChild(); child; child = child->nextOnLine()) { |
if (child->isInlineFlowBox()) { |
// Skip generated content. |
- if (!child->renderer().node()) |
+ if (!child->layoutObject().node()) |
continue; |
collectTextBoxesInFlowBox(toInlineFlowBox(child)); |
@@ -110,7 +110,7 @@ bool SVGTextQuery::executeQuery(Data* queryData, ProcessTextFragmentCallback fra |
// Loop over all text boxes |
for (unsigned textBoxPosition = 0; textBoxPosition < textBoxCount; ++textBoxPosition) { |
queryData->textBox = m_textBoxes.at(textBoxPosition); |
- queryData->textRenderer = &toLayoutSVGInlineText(queryData->textBox->renderer()); |
+ queryData->textRenderer = &toLayoutSVGInlineText(queryData->textBox->layoutObject()); |
ASSERT(queryData->textRenderer->style()); |
queryData->isVerticalText = queryData->textRenderer->style()->svgStyle().isVerticalWritingMode(); |