Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index d8bae3c9c0648b2e235041b3f80cf4539a4df28d..aec29e2002c8067008ffa5d99296ea21abcdcb78 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -945,7 +945,7 @@ PassRefPtrWillBeRawPtr<Node> Document::importNode(Node* importedNode, bool deep, |
case TEXT_NODE: |
return createTextNode(importedNode->nodeValue()); |
case CDATA_SECTION_NODE: |
- return createCDATASection(importedNode->nodeValue(), exceptionState); |
+ return CDATASection::create(*this, importedNode->nodeValue()); |
case PROCESSING_INSTRUCTION_NODE: |
return createProcessingInstruction(importedNode->nodeName(), importedNode->nodeValue(), exceptionState); |
case COMMENT_NODE: |