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) { |