| Index: Source/core/paint/InlinePainter.cpp
|
| diff --git a/Source/core/paint/InlinePainter.cpp b/Source/core/paint/InlinePainter.cpp
|
| index 73a8e1f763bf26c436b818c7ec032e81ba2c2900..7d25ca9a0acb1eeb420ebc2080511213f82dff8e 100644
|
| --- a/Source/core/paint/InlinePainter.cpp
|
| +++ b/Source/core/paint/InlinePainter.cpp
|
| @@ -23,7 +23,7 @@ void InlinePainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOf
|
| {
|
| // FIXME: When Skia supports annotation rect covering (https://code.google.com/p/skia/issues/detail?id=3872),
|
| // this rect may be covered by foreground and descendant drawings. Then we may need a dedicated paint phase.
|
| - if (paintInfo.phase == PaintPhaseForeground && paintInfo.context->printing())
|
| + if (paintInfo.phase == PaintPhaseForeground && paintInfo.printing())
|
| ObjectPainter(m_layoutInline).addPDFURLRectIfNeeded(paintInfo, paintOffset);
|
|
|
| LineBoxListPainter(*m_layoutInline.lineBoxes()).paint(&m_layoutInline, paintInfo, paintOffset);
|
|
|