| Index: third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
|
| index 729f3c9cc010bed0ef9cd4ffa5d1a36ae985d450..df48a8857ffeb417af21c52c59f72f23d4df8a2d 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp
|
| @@ -442,7 +442,7 @@
|
|
|
| AtomicString value = token.Value().ToAtomicString().LowerASCII();
|
| bool has_arguments = token.GetType() == kFunctionToken;
|
| - selector->UpdatePseudoType(value, *context_, has_arguments);
|
| + selector->UpdatePseudoType(value, has_arguments);
|
|
|
| if (!RuntimeEnabledFeatures::cssSelectorsFocusWithinEnabled() &&
|
| selector->GetPseudoType() == CSSSelector::kPseudoFocusWithin)
|
| @@ -582,8 +582,7 @@
|
| const CSSParserToken& slash = range.ConsumeIncludingWhitespace();
|
| if (slash.GetType() != kDelimiterToken || slash.Delimiter() != '/')
|
| failed_parsing_ = true;
|
| - return context_->IsDynamicProfile() ? CSSSelector::kShadowDeepAsDescendant
|
| - : CSSSelector::kShadowDeep;
|
| + return CSSSelector::kShadowDeep;
|
| }
|
|
|
| default:
|
|
|