Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index b75c7ab7d4d6c36423499582f175973e544674a9..ceab2f5dbe54281b7904df17cb903a71d38e15bf 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -140,7 +140,6 @@ void Node::dumpStatistics() |
size_t elementNodes = 0; |
size_t attrNodes = 0; |
size_t textNodes = 0; |
- size_t cdataNodes = 0; |
size_t commentNodes = 0; |
size_t piNodes = 0; |
size_t documentNodes = 0; |
@@ -189,10 +188,6 @@ void Node::dumpStatistics() |
++textNodes; |
break; |
} |
- case CDATA_SECTION_NODE: { |
- ++cdataNodes; |
- break; |
- } |
case COMMENT_NODE: { |
++commentNodes; |
break; |
@@ -226,7 +221,6 @@ void Node::dumpStatistics() |
printf(" Number of Element nodes: %zu\n", elementNodes); |
printf(" Number of Attribute nodes: %zu\n", attrNodes); |
printf(" Number of Text nodes: %zu\n", textNodes); |
- printf(" Number of CDATASection nodes: %zu\n", cdataNodes); |
printf(" Number of Comment nodes: %zu\n", commentNodes); |
printf(" Number of ProcessingInstruction nodes: %zu\n", piNodes); |
printf(" Number of Document nodes: %zu\n", documentNodes); |
@@ -1359,7 +1353,6 @@ void Node::setTextContent(const String& text) |
{ |
switch (nodeType()) { |
case TEXT_NODE: |
- case CDATA_SECTION_NODE: |
case COMMENT_NODE: |
case PROCESSING_INSTRUCTION_NODE: |
setNodeValue(text); |
@@ -2378,7 +2371,6 @@ unsigned Node::lengthOfContents() const |
// This switch statement must be consistent with that of Range::processContentsBetweenOffsets. |
switch (nodeType()) { |
case Node::TEXT_NODE: |
- case Node::CDATA_SECTION_NODE: |
case Node::COMMENT_NODE: |
return toCharacterData(this)->length(); |
case Node::PROCESSING_INSTRUCTION_NODE: |