summaryrefslogtreecommitdiff
path: root/fxjs/cjx_node.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-01 21:08:08 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-01 21:08:08 +0000
commit68bc6ad5a70fdb35ae5c088bd3ca977e15ea9573 (patch)
treebf9fe46760662f178bd97f77d5e9537947109f88 /fxjs/cjx_node.h
parent14fe518ae67eac22cc169517e69092f62a195913 (diff)
downloadpdfium-68bc6ad5a70fdb35ae5c088bd3ca977e15ea9573.tar.xz
Remove default value from CJX_Node::HasAttributechromium/3256
The attribute is always false, removed and simplified the code. Change-Id: Ic20ffe8d91fc3fcd66835e1bc2b1bce3da69be16 Reviewed-on: https://pdfium-review.googlesource.com/17316 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjx_node.h')
-rw-r--r--fxjs/cjx_node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h
index a70cec3ce7..abac5405a5 100644
--- a/fxjs/cjx_node.h
+++ b/fxjs/cjx_node.h
@@ -52,7 +52,7 @@ class CJX_Node : public CJX_Object {
CXFA_Node* GetXFANode();
const CXFA_Node* GetXFANode() const;
- bool HasAttribute(XFA_ATTRIBUTE eAttr, bool bCanInherit = false);
+ bool HasAttribute(XFA_ATTRIBUTE eAttr);
bool SetAttribute(XFA_ATTRIBUTE eAttr,
const WideStringView& wsValue,
bool bNotify = false);
@@ -490,7 +490,7 @@ class CJX_Node : public CJX_Object {
void*& pValue,
int32_t& iBytes,
bool bProtoAlso = true) const;
- bool HasMapModuleKey(void* pKey, bool bProtoAlso = false);
+ bool HasMapModuleKey(void* pKey);
void RemoveMapModuleKey(void* pKey = nullptr);
void MoveBufferMapData(CXFA_Node* pDstModule, void* pKey);
void MoveBufferMapData(CXFA_Node* pSrcModule,