Index: Source/core/paint/SVGContainerPainter.cpp |
diff --git a/Source/core/paint/SVGContainerPainter.cpp b/Source/core/paint/SVGContainerPainter.cpp |
index b3430c6f00158b7ad8e6b1a79d1b8929dfd51188..6b7a09d5a1442532ffc870c5d9cf6df7bddc05e0 100644 |
--- a/Source/core/paint/SVGContainerPainter.cpp |
+++ b/Source/core/paint/SVGContainerPainter.cpp |
@@ -64,7 +64,7 @@ void SVGContainerPainter::paint(const PaintInfo& paintInfo) |
ObjectPainter(m_layoutSVGContainer).paintOutline(paintInfoBeforeFiltering, layoutBoundingBox, visualOverflowRect); |
} |
- if (paintInfoBeforeFiltering.context->printing()) |
+ if (paintInfoBeforeFiltering.isPrinting()) |
ObjectPainter(m_layoutSVGContainer).addPDFURLRectIfNeeded(paintInfoBeforeFiltering, LayoutPoint()); |
} |