Index: Source/core/paint/FramePainter.cpp |
diff --git a/Source/core/paint/FramePainter.cpp b/Source/core/paint/FramePainter.cpp |
index 3891d6bebc2ea0bfa533cca74b6cb872b84790ef..6a64d8ed183605afd535f249344a50521c10915a 100644 |
--- a/Source/core/paint/FramePainter.cpp |
+++ b/Source/core/paint/FramePainter.cpp |
@@ -110,7 +110,7 @@ void FramePainter::paintContents(GraphicsContext* context, const IntRect& rect) |
} |
if (document->printing()) |
- m_frameView.setPaintBehavior(m_frameView.paintBehavior() | PaintBehaviorFlattenCompositingLayers); |
+ m_frameView.setPaintBehavior(m_frameView.paintBehavior() | PaintBehaviorFlattenCompositingLayers | PaintBehaviorPrinting); |
ASSERT(!m_frameView.isPainting()); |
m_frameView.setIsPainting(true); |