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

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

Issue 2876973003: Rename *Focus*-methods of FrameSelection to clarify its public API (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/core/paint/ImagePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/ImagePainter.cpp b/third_party/WebKit/Source/core/paint/ImagePainter.cpp
index b63f7b66fe48693366ad8d230dd87126020a13bf..f7092b016f78d520c1e7797b144b9f4b97d8a3e6 100644
--- a/third_party/WebKit/Source/core/paint/ImagePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/ImagePainter.cpp
@@ -35,7 +35,7 @@ void ImagePainter::PaintAreaElementFocusRing(const PaintInfo& paint_info,
Document& document = layout_image_.GetDocument();
if (paint_info.IsPrinting() ||
- !document.GetFrame()->Selection().IsFocusedAndActive())
+ !document.GetFrame()->Selection().FrameIsFocusedAndActive())
return;
Element* focused_element = document.FocusedElement();

Powered by Google App Engine
This is Rietveld 408576698