Index: Source/core/paint/ImagePainter.cpp |
diff --git a/Source/core/paint/ImagePainter.cpp b/Source/core/paint/ImagePainter.cpp |
index f8686b94b77140e159bad336c4a18dd34e1b9504..c3f2cd324bb0906de9ce6684dbf8f51b2c4fb6dd 100644 |
--- a/Source/core/paint/ImagePainter.cpp |
+++ b/Source/core/paint/ImagePainter.cpp |
@@ -35,7 +35,7 @@ void ImagePainter::paintAreaElementFocusRing(const PaintInfo& paintInfo) |
{ |
Document& document = m_layoutImage.document(); |
- if (document.printing() || !document.frame()->selection().isFocusedAndActive()) |
+ if (paintInfo.printing() || !document.frame()->selection().isFocusedAndActive()) |
return; |
Element* focusedElement = document.focusedElement(); |