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

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

Issue 15363004: Rename ShadowDescendant to ShadowPseudo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: sync again Created 7 years, 7 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
« no previous file with comments | « Source/core/css/CSSSelector.cpp ('k') | Source/core/css/SelectorFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/SelectorChecker.cpp
diff --git a/Source/core/css/SelectorChecker.cpp b/Source/core/css/SelectorChecker.cpp
index c094dac2c3644ac9a73f0eb5ba2a6886b86393bb..768de63972ce3c8e4be511c17f62fa86a73e7a0c 100644
--- a/Source/core/css/SelectorChecker.cpp
+++ b/Source/core/css/SelectorChecker.cpp
@@ -199,7 +199,7 @@ SelectorChecker::Match SelectorChecker::match(const SelectorCheckingContext& con
nextContext.isSubSelector = true;
return match(nextContext, dynamicPseudo, siblingTraversalStrategy);
- case CSSSelector::ShadowDescendant:
+ case CSSSelector::ShadowPseudo:
{
// If we're in the same tree-scope as the scoping element, then following a shadow descendant combinator would escape that and thus the scope.
if (context.scope && context.scope->treeScope() == context.element->treeScope() && (context.behaviorAtBoundary & BoundaryBehaviorMask) != StaysWithinTreeScope)
« no previous file with comments | « Source/core/css/CSSSelector.cpp ('k') | Source/core/css/SelectorFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698