summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_datadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_datadata.h')
-rw-r--r--xfa/fxfa/parser/cxfa_datadata.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_datadata.h b/xfa/fxfa/parser/cxfa_datadata.h
index ff5aa2a3cf..a77e4512cb 100644
--- a/xfa/fxfa/parser/cxfa_datadata.h
+++ b/xfa/fxfa/parser/cxfa_datadata.h
@@ -25,9 +25,7 @@ class CXFA_DataData {
XFA_Element GetElementType() const;
protected:
- bool TryMeasure(XFA_Attribute eAttr,
- float& fValue,
- bool bUseDefault = false) const;
+ pdfium::Optional<float> TryMeasureAsFloat(XFA_Attribute attr) const;
CXFA_Node* m_pNode;
};