summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_submit.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-02 19:09:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-02 19:09:58 +0000
commit3ac07ffafea1ee4d3cf985e32692849dd3fcfdfb (patch)
tree3edbd3db87541a57fa0ee172bd50b70d35d45a11 /xfa/fxfa/parser/cxfa_submit.cpp
parentbf29e5b532e4ef9a309906083b33b6d4c48ff757 (diff)
downloadpdfium-3ac07ffafea1ee4d3cf985e32692849dd3fcfdfb.tar.xz
Cleanup params to CJX_Node::TryCData
This CL removes the bProto param as it was never set and inlines the value where needed in the methods. The default value was removed from bUseDefault and inlined into callsites as needed. Change-Id: I773261d19aa3799bc607e7df482b5f5e5217bee6 Reviewed-on: https://pdfium-review.googlesource.com/17533 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_submit.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_submit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_submit.cpp b/xfa/fxfa/parser/cxfa_submit.cpp
index c4fb22582c..b7802c0248 100644
--- a/xfa/fxfa/parser/cxfa_submit.cpp
+++ b/xfa/fxfa/parser/cxfa_submit.cpp
@@ -19,9 +19,9 @@ int32_t CXFA_Submit::GetSubmitFormat() {
}
void CXFA_Submit::GetSubmitTarget(WideStringView& wsTarget) {
- m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Target, wsTarget);
+ m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_Target, wsTarget, true);
}
void CXFA_Submit::GetSubmitXDPContent(WideStringView& wsContent) {
- m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_XdpContent, wsContent);
+ m_pNode->JSNode()->TryCData(XFA_ATTRIBUTE_XdpContent, wsContent, true);
}