summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_simple_parser.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-02 18:15:07 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-02 18:15:07 +0000
commit77fe069bd19ea8207664293f631c63dab330f825 (patch)
tree25ecc84aefed75c57c7783e464392591d71cc692 /xfa/fxfa/parser/cxfa_simple_parser.cpp
parentf45406f8ec992560353756cff1e2c3931984e62b (diff)
downloadpdfium-77fe069bd19ea8207664293f631c63dab330f825.tar.xz
Remove default value to CJX_Node::SetAttribute
The bNotify value has been moved into the call sites and the default removed. Change-Id: Ifd2c0252b0f1421f7fc244d69e6f6bddc80e5591 Reviewed-on: https://pdfium-review.googlesource.com/17450 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_simple_parser.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_simple_parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_simple_parser.cpp b/xfa/fxfa/parser/cxfa_simple_parser.cpp
index 9d3f2b0222..c129214a50 100644
--- a/xfa/fxfa/parser/cxfa_simple_parser.cpp
+++ b/xfa/fxfa/parser/cxfa_simple_parser.cpp
@@ -651,7 +651,7 @@ CXFA_Node* CXFA_SimpleParser::ParseAsXDPPacket_TemplateForm(
pNode->JSNode()->SetCData(XFA_ATTRIBUTE_Name,
XFA_GetPacketByIndex(XFA_PACKET_Form)->pName);
pNode->JSNode()->SetAttribute(XFA_ATTRIBUTE_Checksum,
- wsChecksum.AsStringView());
+ wsChecksum.AsStringView(), false);
CXFA_Node* pTemplateRoot =
m_pRootNode->GetFirstChildByClass(XFA_Element::Template);
CXFA_Node* pTemplateChosen =
@@ -877,7 +877,7 @@ CXFA_Node* CXFA_SimpleParser::NormalLoader(CXFA_Node* pXFANode,
return nullptr;
if (ePacketID == XFA_XDPPACKET_Config) {
pXFAChild->JSNode()->SetAttribute(XFA_ATTRIBUTE_Name,
- wsTagName.AsStringView());
+ wsTagName.AsStringView(), false);
}
bool IsNeedValue = true;
@@ -897,7 +897,7 @@ CXFA_Node* CXFA_SimpleParser::NormalLoader(CXFA_Node* pXFANode,
continue;
}
pXFAChild->JSNode()->SetAttribute(lpAttrInfo->eName,
- it.second.AsStringView());
+ it.second.AsStringView(), false);
}
pXFANode->InsertChild(pXFAChild);
if (eType == XFA_Element::Validate || eType == XFA_Element::Locale) {