Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: third_party/WebKit/Source/core/css/SelectorChecker.cpp

Issue 2812743003: Rename cleanup in comments in css/ directory. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() ||

Powered by Google App Engine
This is Rietveld 408576698