| Index: sky/engine/core/css/SelectorChecker.cpp
|
| diff --git a/sky/engine/core/css/SelectorChecker.cpp b/sky/engine/core/css/SelectorChecker.cpp
|
| index aa2cc793e396b9a396c1bf0d6d00fdf556712f95..487c662deafc17ee8bf2d3e9c20b416a1e64ef95 100644
|
| --- a/sky/engine/core/css/SelectorChecker.cpp
|
| +++ b/sky/engine/core/css/SelectorChecker.cpp
|
| @@ -46,7 +46,7 @@ SelectorChecker::SelectorChecker(Document& document, Mode mode)
|
|
|
| static bool scopeContainsLastMatchedElement(const SelectorChecker::SelectorCheckingContext& context)
|
| {
|
| - if (!(context.contextFlags & SelectorChecker::ScopeContainsLastMatchedElement))
|
| + if (!context.scope)
|
| return true;
|
|
|
| ASSERT(context.scope);
|
|
|