diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-02 20:42:48 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-02 20:42:48 +0000 |
commit | a39b3caf5170778981f50cc1dffea47f28acd50e (patch) | |
tree | 673b239b2755c197f5baad3cda067b3bfa3dc686 /fxjs/cjx_node.h | |
parent | 8bafef176a2a810373a386373fa3f558ae427984 (diff) | |
download | pdfium-a39b3caf5170778981f50cc1dffea47f28acd50e.tar.xz |
Remove default params from some Map Module methods
This CL removes the default value from {Set|Get}MapModuleBuffer and
inlines into the call sites.
Change-Id: Ia003bec3908a1531e572e25ea0a762973b8beebe
Reviewed-on: https://pdfium-review.googlesource.com/17630
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 | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h index 1864643f91..77092d434b 100644 --- a/fxjs/cjx_node.h +++ b/fxjs/cjx_node.h @@ -434,15 +434,14 @@ class CJX_Node : public CJX_Object { bool GetMapModuleValue(void* pKey, void*& pValue); void SetMapModuleString(void* pKey, const WideStringView& wsValue); bool GetMapModuleString(void* pKey, WideStringView& wsValue); - void SetMapModuleBuffer( - void* pKey, - void* pValue, - int32_t iBytes, - XFA_MAPDATABLOCKCALLBACKINFO* pCallbackInfo = nullptr); + void SetMapModuleBuffer(void* pKey, + void* pValue, + int32_t iBytes, + XFA_MAPDATABLOCKCALLBACKINFO* pCallbackInfo); bool GetMapModuleBuffer(void* pKey, void*& pValue, int32_t& iBytes, - bool bProtoAlso = true) const; + bool bProtoAlso) const; bool HasMapModuleKey(void* pKey); void RemoveMapModuleKey(void* pKey = nullptr); void MoveBufferMapData(CXFA_Node* pDstModule, void* pKey); |