Index: third_party/WebKit/Source/core/css/SelectorChecker.cpp |
diff --git a/third_party/WebKit/Source/core/css/SelectorChecker.cpp b/third_party/WebKit/Source/core/css/SelectorChecker.cpp |
index 049b269a99f5e363fadc20a39271793451ab11b5..d3d2570dcc5436e41f24eb8db59bd27cee62bc73 100644 |
--- a/third_party/WebKit/Source/core/css/SelectorChecker.cpp |
+++ b/third_party/WebKit/Source/core/css/SelectorChecker.cpp |
@@ -66,8 +66,10 @@ namespace blink { |
using namespace HTMLNames; |
static bool IsFrameFocused(const Element& element) { |
- return element.GetDocument().GetFrame() && |
- element.GetDocument().GetFrame()->Selection().IsFocusedAndActive(); |
+ return element.GetDocument().GetFrame() && element.GetDocument() |
+ .GetFrame() |
+ ->Selection() |
+ .FrameIsFocusedAndActive(); |
} |
static bool MatchesSpatialNavigationFocusPseudoClass(const Element& element) { |