Index: Source/core/rendering/svg/RenderSVGText.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGText.cpp b/Source/core/rendering/svg/RenderSVGText.cpp |
index fbe9cdab85f7526fbd78f84a096cba6272f33722..9a2c60795ad66f8f954010f9abb719dd92c74190 100644 |
--- a/Source/core/rendering/svg/RenderSVGText.cpp |
+++ b/Source/core/rendering/svg/RenderSVGText.cpp |
@@ -419,7 +419,7 @@ void RenderSVGText::layout() |
RootInlineBox* RenderSVGText::createRootInlineBox() |
{ |
- RootInlineBox* box = new SVGRootInlineBox(this); |
+ RootInlineBox* box = new SVGRootInlineBox(*this); |
box->setHasVirtualLogicalHeight(); |
return box; |
} |
@@ -460,7 +460,7 @@ PositionWithAffinity RenderSVGText::positionForPoint(const LayoutPoint& pointInC |
if (!closestBox) |
return createPositionWithAffinity(0, DOWNSTREAM); |
- return closestBox->renderer()->positionForPoint(LayoutPoint(pointInContents.x(), closestBox->y())); |
+ return closestBox->renderer().positionForPoint(LayoutPoint(pointInContents.x(), closestBox->y())); |
} |
void RenderSVGText::absoluteQuads(Vector<FloatQuad>& quads, bool* wasFixed) const |