From 8bafef176a2a810373a386373fa3f558ae427984 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 2 Nov 2017 20:42:18 +0000 Subject: 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 Reviewed-by: Tom Sepez --- fxjs/cjx_node.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'fxjs/cjx_node.h') 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); -- cgit v1.2.3