Index: Source/core/xml/XPathUtil.cpp |
diff --git a/Source/core/xml/XPathUtil.cpp b/Source/core/xml/XPathUtil.cpp |
index 5f6707e1018b3ecb4c32a329636b2e048589c681..b6dc18d86ef0ff5241ffb31194b1d686f3cb4285 100644 |
--- a/Source/core/xml/XPathUtil.cpp |
+++ b/Source/core/xml/XPathUtil.cpp |
@@ -46,7 +46,6 @@ String stringValue(Node* node) |
case Node::PROCESSING_INSTRUCTION_NODE: |
case Node::COMMENT_NODE: |
case Node::TEXT_NODE: |
- case Node::CDATA_SECTION_NODE: |
return node->nodeValue(); |
default: |
if (isRootDomNode(node) || node->isElementNode()) { |
@@ -73,7 +72,6 @@ bool isValidContextNode(Node* node) |
return false; |
switch (node->nodeType()) { |
case Node::ATTRIBUTE_NODE: |
- case Node::CDATA_SECTION_NODE: |
case Node::COMMENT_NODE: |
case Node::DOCUMENT_NODE: |
case Node::ELEMENT_NODE: |