Index: Source/core/rendering/svg/SVGInlineTextBox.cpp |
diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
index 0a08afbed09a9e873c616604df0f4f3a0d79d424..882ddcda3acbf3d9670b271cd975bf65f705ade6 100644 |
--- a/Source/core/rendering/svg/SVGInlineTextBox.cpp |
+++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
@@ -197,7 +197,7 @@ void SVGInlineTextBox::paintSelectionBackground(PaintInfo& paintInfo) |
RenderObject* parentRenderer = parent()->renderer(); |
ASSERT(parentRenderer); |
- ASSERT(!parentRenderer->document()->printing()); |
+ ASSERT(!parentRenderer->document().printing()); |
// Determine whether or not we're selected. |
bool paintSelectedTextOnly = paintInfo.phase == PaintPhaseSelection; |
@@ -270,7 +270,7 @@ void SVGInlineTextBox::paint(PaintInfo& paintInfo, const LayoutPoint&, LayoutUni |
ASSERT(parentRenderer); |
bool paintSelectedTextOnly = paintInfo.phase == PaintPhaseSelection; |
- bool hasSelection = !parentRenderer->document()->printing() && selectionState() != RenderObject::SelectionNone; |
+ bool hasSelection = !parentRenderer->document().printing() && selectionState() != RenderObject::SelectionNone; |
if (!hasSelection && paintSelectedTextOnly) |
return; |