diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-02 19:17:18 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-02 19:17:18 +0000 |
commit | 7f571083e35bc4056515f64c7adb7325f1a27b57 (patch) | |
tree | 6334314440e13f8ffcff27afc0ae7f58de304ea7 /fxjs | |
parent | 8946aec4c3e727aae806f9858c2329ce368dd517 (diff) | |
download | pdfium-7f571083e35bc4056515f64c7adb7325f1a27b57.tar.xz |
Remove default values from CJX_Node::{Set|Try}Enum
This CL removes the default value and inlines into the call sites.
Change-Id: Ib6bc2b27189be3596e83a8b29b7a6a744278ed34
Reviewed-on: https://pdfium-review.googlesource.com/17570
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/cjx_node.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h index 7256e31c19..66893f2d3d 100644 --- a/fxjs/cjx_node.h +++ b/fxjs/cjx_node.h @@ -96,10 +96,8 @@ class CJX_Node : public CJX_Object { bool TryEnum(XFA_ATTRIBUTE eAttr, XFA_ATTRIBUTEENUM& eValue, - bool bUseDefault = true); - bool SetEnum(XFA_ATTRIBUTE eAttr, - XFA_ATTRIBUTEENUM eValue, - bool bNotify = false); + bool bUseDefault); + bool SetEnum(XFA_ATTRIBUTE eAttr, XFA_ATTRIBUTEENUM eValue, bool bNotify); XFA_ATTRIBUTEENUM GetEnum(XFA_ATTRIBUTE eAttr); bool TryBoolean(XFA_ATTRIBUTE eAttr, bool& bValue, bool bUseDefault = true); |