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 adbdbc8dfa97cf42508c9ddcf315c30f7ee64eb8..46f8fe4caa0773e7a2654a22940e9f84fdde509b 100644 |
--- a/third_party/WebKit/Source/core/css/SelectorChecker.cpp |
+++ b/third_party/WebKit/Source/core/css/SelectorChecker.cpp |
@@ -1010,7 +1010,7 @@ bool SelectorChecker::checkPseudoClass(const SelectorCheckingContext& context, |
if (isHTMLFrameElementBase(element) && |
element.containsFullScreenElement()) |
return true; |
- return Fullscreen::isCurrentFullScreenElement(element); |
+ return Fullscreen::isFullscreenElement(element); |
case CSSSelector::PseudoFullScreenAncestor: |
return element.containsFullScreenElement(); |
case CSSSelector::PseudoInRange: |