summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_data.cpp
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 /xfa/fxfa/parser/cxfa_data.cpp
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 'xfa/fxfa/parser/cxfa_data.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_data.cpp b/xfa/fxfa/parser/cxfa_data.cpp
index 37817c3ce2..c54f9b1e68 100644
--- a/xfa/fxfa/parser/cxfa_data.cpp
+++ b/xfa/fxfa/parser/cxfa_data.cpp
@@ -78,5 +78,5 @@ bool CXFA_Data::TryMeasure(XFA_ATTRIBUTE eAttr,
bool CXFA_Data::SetMeasure(XFA_ATTRIBUTE eAttr, float fValue) {
CXFA_Measurement ms(fValue, XFA_UNIT_Pt);
- return m_pNode->JSNode()->SetMeasure(eAttr, ms);
+ return m_pNode->JSNode()->SetMeasure(eAttr, ms, false);
}