| Index: Source/core/paint/PartPainter.cpp
|
| diff --git a/Source/core/paint/PartPainter.cpp b/Source/core/paint/PartPainter.cpp
|
| index 89b1eb09ba202bb3ea55c8b2839954989a408862..8eba600cf3bd8803d8cdc048a2f848ac0a0a21e4 100644
|
| --- a/Source/core/paint/PartPainter.cpp
|
| +++ b/Source/core/paint/PartPainter.cpp
|
| @@ -63,7 +63,7 @@ void PartPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffs
|
| }
|
|
|
| // Paint a partially transparent wash over selected widgets.
|
| - if (m_layoutPart.isSelected() && !m_layoutPart.document().printing() && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, m_layoutPart, paintInfo.phase)) {
|
| + if (m_layoutPart.isSelected() && !paintInfo.isPrinting() && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, m_layoutPart, paintInfo.phase)) {
|
| LayoutRect rect = m_layoutPart.localSelectionRect();
|
| rect.moveBy(adjustedPaintOffset);
|
| IntRect selectionRect = pixelSnappedIntRect(rect);
|
|
|