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 b8aeae9ba96433850fc794b8281f62207a499293..aae1bd566c13e8a86e56a8d514e5dee5b63cce7c 100644 |
--- a/third_party/WebKit/Source/core/css/SelectorChecker.cpp |
+++ b/third_party/WebKit/Source/core/css/SelectorChecker.cpp |
@@ -1015,8 +1015,8 @@ bool SelectorChecker::checkPseudoHost(const SelectorCheckingContext& context, Ma |
return false; |
ASSERT(element.shadow()); |
- // For empty parameter case, i.e. just :host or :host(). |
- if (!selector.selectorList()) // Use *'s specificity. So just 0. |
+ // For the case with no parameters, i.e. just :host. |
+ if (!selector.selectorList()) |
return true; |
SelectorCheckingContext subContext(context); |