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