Index: Source/core/paint/ObjectPainter.cpp |
diff --git a/Source/core/paint/ObjectPainter.cpp b/Source/core/paint/ObjectPainter.cpp |
index 4af3f9073978344bb45409faaf8e07e48460358e..a9f940168b0d54be6239394f28af90b7078fb4c8 100644 |
--- a/Source/core/paint/ObjectPainter.cpp |
+++ b/Source/core/paint/ObjectPainter.cpp |
@@ -70,7 +70,7 @@ void ObjectPainter::paintOutline(const PaintInfo& paintInfo, const LayoutRect& o |
void ObjectPainter::addPDFURLRectIfNeeded(const PaintInfo& paintInfo, const LayoutPoint& paintOffset) |
{ |
- ASSERT(paintInfo.context->printing()); |
+ ASSERT(paintInfo.isPrinting()); |
if (m_layoutObject.isElementContinuation() || !m_layoutObject.node() || !m_layoutObject.node()->isLink() || m_layoutObject.styleRef().visibility() != VISIBLE) |
return; |