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

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

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 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;

Powered by Google App Engine
This is Rietveld 408576698