diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-02 20:42:18 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-02 20:42:18 +0000 |
commit | 8bafef176a2a810373a386373fa3f558ae427984 (patch) | |
tree | 594d42b3497583933e16b72ff161b3ffad4d96f6 /fxjs/cjx_node.h | |
parent | 453d786b16e431ee9e8174de8b0c62358d81a8a0 (diff) | |
download | pdfium-8bafef176a2a810373a386373fa3f558ae427984.tar.xz |
Roll {Set|Get}ScriptContent into {Set|Get}Content
The SetContent method was a proxy to SetScriptContent. The GetContent
added a default param value. The methods have been merged and the
GetContent call sites updated to pass in the needed value.
Change-Id: I61f950bef8beec7157bdb22e0a25904729f9e00a
Reviewed-on: https://pdfium-review.googlesource.com/17613
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cjx_node.h')
-rw-r--r-- | fxjs/cjx_node.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h index 130f759812..1864643f91 100644 --- a/fxjs/cjx_node.h +++ b/fxjs/cjx_node.h @@ -78,7 +78,7 @@ class CJX_Node : public CJX_Object { bool bNotify, bool bScriptModify, bool bSyncData); - WideString GetContent(); + WideString GetContent(bool bScriptModify); bool TryInteger(XFA_ATTRIBUTE eAttr, int32_t& iValue, bool bUseDefault); bool SetInteger(XFA_ATTRIBUTE eAttr, int32_t iValue, bool bNotify); @@ -428,13 +428,6 @@ class CJX_Node : public CJX_Object { 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); - XFA_MAPMODULEDATA* CreateMapModuleData(); XFA_MAPMODULEDATA* GetMapModuleData() const; void SetMapModuleValue(void* pKey, void* pValue); |