summaryrefslogtreecommitdiff
path: root/fxjs
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-02 20:41:38 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-02 20:41:38 +0000
commit453d786b16e431ee9e8174de8b0c62358d81a8a0 (patch)
tree030b8ad7c971d05ca9eb3082a1de84a177a892b4 /fxjs
parent5471335c2a70776b6734a4ee5a6732ee373c2236 (diff)
downloadpdfium-453d786b16e431ee9e8174de8b0c62358d81a8a0.tar.xz
Remove default values from CJX_Node::{TryUserData|GetScriptContent}
This CL removes the default values an inlines into the call sites. Change-Id: Ic4d05db306eafc037a2f312a6780dbae79097b6c Reviewed-on: https://pdfium-review.googlesource.com/17612 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs')
-rw-r--r--fxjs/cjx_node.cpp2
-rw-r--r--fxjs/cjx_node.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/fxjs/cjx_node.cpp b/fxjs/cjx_node.cpp
index 131fe5567b..0a053eec3e 100644
--- a/fxjs/cjx_node.cpp
+++ b/fxjs/cjx_node.cpp
@@ -3527,7 +3527,7 @@ WideString CJX_Node::GetScriptContent(bool bScriptModify) {
}
WideString CJX_Node::GetContent() {
- return GetScriptContent();
+ return GetScriptContent(false);
}
bool CJX_Node::TryContent(WideString& wsContent,
diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h
index c92744f7ad..130f759812 100644
--- a/fxjs/cjx_node.h
+++ b/fxjs/cjx_node.h
@@ -426,14 +426,14 @@ class CJX_Node : public CJX_Object {
bool bUseDefault,
void*& pValue);
- bool TryUserData(void* pKey, void*& pData, bool bProtoAlso = false);
+ bool TryUserData(void* pKey, void*& pData, bool bProtoAlso);
bool SetScriptContent(const WideString& wsContent,
const WideString& wsXMLValue,
bool bNotify,
bool bScriptModify,
bool bSyncData);
- WideString GetScriptContent(bool bScriptModify = false);
+ WideString GetScriptContent(bool bScriptModify);
XFA_MAPMODULEDATA* CreateMapModuleData();
XFA_MAPMODULEDATA* GetMapModuleData() const;