| 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 da7b0ec8448154b902f39bd90eaddb3883185a1e..9bbc2989ff9a95ec57be47f6ef9b67a3d02cb388 100644
|
| --- a/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| @@ -1179,9 +1179,9 @@ bool SelectorChecker::checkPseudoHost(const SelectorCheckingContext& context,
|
| if (match(hostContext, subResult)) {
|
| matched = true;
|
| // Consider div:host(div:host(div:host(div:host...))).
|
| - maxSpecificity =
|
| - std::max(maxSpecificity, hostContext.selector->specificity() +
|
| - subResult.specificity);
|
| + maxSpecificity = std::max(
|
| + maxSpecificity,
|
| + hostContext.selector->specificity() + subResult.specificity);
|
| break;
|
| }
|
| hostContext.treatShadowHostAsNormalScope = false;
|
|
|