diff options
Diffstat (limited to 'WebCore/xml/XPathPredicate.cpp')
-rw-r--r-- | WebCore/xml/XPathPredicate.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/WebCore/xml/XPathPredicate.cpp b/WebCore/xml/XPathPredicate.cpp index 7b3e4d8..2a6482f 100644 --- a/WebCore/xml/XPathPredicate.cpp +++ b/WebCore/xml/XPathPredicate.cpp @@ -233,8 +233,6 @@ Value Union::evaluate() const { Value lhsResult = subExpr(0)->evaluate(); Value rhs = subExpr(1)->evaluate(); - if (!lhsResult.isNodeSet() || !rhs.isNodeSet()) - return NodeSet(); NodeSet& resultSet = lhsResult.modifiableNodeSet(); const NodeSet& rhsNodes = rhs.toNodeSet(); |