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

Unified Diff: Source/core/xml/XPathUtil.cpp

Issue 739433003: Remove CDATASection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 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
« no previous file with comments | « Source/core/xml/XPathStep.cpp ('k') | Source/core/xml/parser/XMLDocumentParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « Source/core/xml/XPathStep.cpp ('k') | Source/core/xml/parser/XMLDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698