summaryrefslogtreecommitdiff
path: root/fxjs
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs')
-rw-r--r--fxjs/xfa/cjx_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/xfa/cjx_node.cpp b/fxjs/xfa/cjx_node.cpp
index efef5af87b..b1d8c2cb66 100644
--- a/fxjs/xfa/cjx_node.cpp
+++ b/fxjs/xfa/cjx_node.cpp
@@ -357,7 +357,7 @@ CJS_Return CJX_Node::saveXML(CFX_V8* runtime,
XFA_DataExporter_DealWithDataGroupNode(GetXFANode());
}
- auto pMemoryStream = pdfium::MakeRetain<CFX_MemoryStream>(true);
+ auto pMemoryStream = pdfium::MakeRetain<CFX_MemoryStream>();
pMemoryStream->WriteString(bsXMLHeader.AsStringView());
if (GetXFANode()->GetPacketType() == XFA_PacketType::Form) {