| 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 bd025d51f8dedf3da6c07a797ab5a300b94e7dad..de3cc38e0a99f0391d090692b2529de9cd044b6b 100644
|
| --- a/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| @@ -499,7 +499,7 @@ SelectorChecker::MatchStatus SelectorChecker::MatchForPseudoContent(
|
| SelectorCheckingContext next_context(context);
|
| for (const auto& insertion_point : insertion_points) {
|
| next_context.element = insertion_point;
|
| - // TODO(esprehn): Why does SharingRules have a special case?
|
| + // TODO(esprehn): Why does kSharingRules have a special case?
|
| if (mode_ == kSharingRules)
|
| next_context.scope = insertion_point->ContainingShadowRoot();
|
| if (Match(next_context, result))
|
| @@ -707,7 +707,7 @@ bool SelectorChecker::CheckPseudoNot(const SelectorCheckingContext& context,
|
| sub_context.visited_match_type == kVisitedMatchEnabled))
|
| return true;
|
| if (mode_ == kSharingRules) {
|
| - // context.scope is not available if m_mode == SharingRules.
|
| + // context.scope is not available if mode_ == kSharingRules.
|
| // We cannot determine whether :host or :scope matches a given element or
|
| // not.
|
| if (sub_context.selector->IsHostPseudoClass() ||
|
|
|