Index: Source/core/paint/ImagePainter.cpp |
diff --git a/Source/core/paint/ImagePainter.cpp b/Source/core/paint/ImagePainter.cpp |
index f8686b94b77140e159bad336c4a18dd34e1b9504..a765d4f5653a1b67662e6c9a3eac747bcacb85a8 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.isPrinting() || !document.frame()->selection().isFocusedAndActive()) |
return; |
Element* focusedElement = document.focusedElement(); |