summaryrefslogtreecommitdiff
path: root/fxjs/cjx_node.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-02 18:15:50 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-02 18:15:50 +0000
commit69cb91483879db27fd95e85d3d4ee7dc7093e126 (patch)
tree9bbb0d9d0d98640922f2e9e737c0d9eedb19af2d /fxjs/cjx_node.h
parent77fe069bd19ea8207664293f631c63dab330f825 (diff)
downloadpdfium-69cb91483879db27fd95e85d3d4ee7dc7093e126.tar.xz
Remove default value from CJX_Node::GetAttribute
This CL moves the default value to CJX_Node::GetAttribute to the call sites and removes the default. Change-Id: I2b875e3c612b91ca67af106e271b040cc51c56ef Reviewed-on: https://pdfium-review.googlesource.com/17470 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.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h
index 47fb0d62f0..ca94a8fff0 100644
--- a/fxjs/cjx_node.h
+++ b/fxjs/cjx_node.h
@@ -61,10 +61,8 @@ class CJX_Node : public CJX_Object {
bool bNotify);
bool GetAttribute(const WideStringView& wsAttr,
WideString& wsValue,
- bool bUseDefault = true);
- bool GetAttribute(XFA_ATTRIBUTE eAttr,
- WideString& wsValue,
- bool bUseDefault = true);
+ bool bUseDefault);
+ bool GetAttribute(XFA_ATTRIBUTE eAttr, WideString& wsValue, bool bUseDefault);
bool SetAttributeValue(const WideString& wsValue,
const WideString& wsXMLValue,
bool bNotify = false,