Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1382)

Unified Diff: Source/core/paint/ImagePainter.cpp

Issue 1236183003: Add 'printing' flag to PaintInfo (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move flag to PaintInfo. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698