Index: Source/core/rendering/svg/SVGInlineFlowBox.cpp |
diff --git a/Source/core/rendering/svg/SVGInlineFlowBox.cpp b/Source/core/rendering/svg/SVGInlineFlowBox.cpp |
index 66b93be57176fadccf5a5c4143b7062cdcd94982..c4f5cdb12033678fdca54be21df8e3c9134ff5d0 100644 |
--- a/Source/core/rendering/svg/SVGInlineFlowBox.cpp |
+++ b/Source/core/rendering/svg/SVGInlineFlowBox.cpp |
@@ -89,8 +89,8 @@ void SVGInlineFlowBox::computeTextMatchMarkerRectForRenderer(RenderSVGInlineText |
ASSERT(style); |
AffineTransform fragmentTransform; |
- Document* document = textRenderer->document(); |
- Vector<DocumentMarker*> markers = document->markers()->markersFor(textRenderer->node()); |
+ Document& document = textRenderer->document(); |
+ Vector<DocumentMarker*> markers = document.markers()->markersFor(textRenderer->node()); |
Vector<DocumentMarker*>::iterator markerEnd = markers.end(); |
for (Vector<DocumentMarker*>::iterator markerIt = markers.begin(); markerIt != markerEnd; ++markerIt) { |