summaryrefslogtreecommitdiff
path: root/fxjs
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-02 19:21:48 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-02 19:21:48 +0000
commit23efbbd8a1840d5dd746d94069741b0532b61b14 (patch)
tree8428ad9290da83eb5611130ce53bf407ce6a92d9 /fxjs
parent63c405d24019cab46dc6c833887dd3e18d3f1b5a (diff)
downloadpdfium-23efbbd8a1840d5dd746d94069741b0532b61b14.tar.xz
Remove default value from CJX_Node::{Set|Try}Measure
This CL removes the default values from {Set|Try}Measure and inlines into the call sites. Change-Id: I2356b92d419203cc1cdbea865b6e04b728430f5a Reviewed-on: https://pdfium-review.googlesource.com/17551 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs')
-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 12b151c6b7..a492a32f39 100644
--- a/fxjs/cjx_node.h
+++ b/fxjs/cjx_node.h
@@ -106,10 +106,8 @@ class CJX_Node : public CJX_Object {
bool TryMeasure(XFA_ATTRIBUTE eAttr,
CXFA_Measurement& mValue,
- bool bUseDefault = true) const;
- bool SetMeasure(XFA_ATTRIBUTE eAttr,
- CXFA_Measurement mValue,
- bool bNotify = false);
+ bool bUseDefault) const;
+ bool SetMeasure(XFA_ATTRIBUTE eAttr, CXFA_Measurement mValue, bool bNotify);
CXFA_Measurement GetMeasure(XFA_ATTRIBUTE eAttr) const;
bool SetUserData(void* pKey,