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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTheme.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/layout/LayoutTheme.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
index 1733121f52b8a42bb2a00855ba1ba1eab8f70399..0279ba319f41e42d3468a5386cf1004275d4c037 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
@@ -522,7 +522,7 @@ bool LayoutTheme::IsFocused(const LayoutObject& o) {
LocalFrame* frame = document.GetFrame();
return node == document.FocusedElement() && node->IsFocused() &&
node->ShouldHaveFocusAppearance() && frame &&
- frame->Selection().IsFocusedAndActive();
+ frame->Selection().FrameIsFocusedAndActive();
}
bool LayoutTheme::IsPressed(const LayoutObject& o) {

Powered by Google App Engine
This is Rietveld 408576698