| 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 b8c76c9a1b81511e35f06dd45457ac3abc1e5edd..6a2f0ed1d1c45ad00e640dbdeaad442f633b231f 100644
|
| --- a/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| @@ -1011,7 +1011,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:
|
|
|