From 453d786b16e431ee9e8174de8b0c62358d81a8a0 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 2 Nov 2017 20:41:38 +0000 Subject: 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 Reviewed-by: Tom Sepez --- fxjs/cjx_node.cpp | 2 +- fxjs/cjx_node.h | 4 ++-- 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; -- cgit v1.2.3