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

Unified Diff: third_party/WebKit/Source/core/xml/XPathPath.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/xml/XPathPath.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathPath.cpp b/third_party/WebKit/Source/core/xml/XPathPath.cpp
index 6960e729077ab451ddae8d9b7ab1fbb0cf1d07f1..ffe10aee988bcf1a05bcb633ed01e4386120cf96 100644
--- a/third_party/WebKit/Source/core/xml/XPathPath.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathPath.cpp
@@ -133,8 +133,9 @@ void LocationPath::evaluate(EvaluationContext& context, NodeSet& nodes) const {
resultIsSorted = false;
// This is a simplified check that can be improved to handle more cases.
- if (nodes.subtreesAreDisjoint() && (step->getAxis() == Step::ChildAxis ||
- step->getAxis() == Step::SelfAxis))
+ if (nodes.subtreesAreDisjoint() &&
+ (step->getAxis() == Step::ChildAxis ||
+ step->getAxis() == Step::SelfAxis))
newNodes->markSubtreesDisjoint(true);
for (const auto& inputNode : nodes) {
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathParser.cpp ('k') | third_party/WebKit/Source/core/xml/XSLStyleSheetLibxslt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698