diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-05-02 15:50:42 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-02 15:50:42 +0000 |
commit | 8ab2b2b2869f769dc169b4a96bb67ec596d5278b (patch) | |
tree | 6a9abb82690d6de4dc784e8463f770b5d2d77ad3 /xfa/fxfa/parser/cxfa_node.h | |
parent | d3b0f7cc78e6a143e00e5eb653b3e7c918054426 (diff) | |
download | pdfium-8ab2b2b2869f769dc169b4a96bb67ec596d5278b.tar.xz |
Remove out params from CalculateAccWidthAndHeight. Return CFX_Size.
Change-Id: I1088abd4ce8f6276043213218867c4d6fb0a46a9
Reviewed-on: https://pdfium-review.googlesource.com/31914
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h index b12a26ef3b..11fc38f4cc 100644 --- a/xfa/fxfa/parser/cxfa_node.h +++ b/xfa/fxfa/parser/cxfa_node.h @@ -460,9 +460,7 @@ class CXFA_Node : public CXFA_Object { float GetWidthWithoutMargin(float fWidthCalc); float GetHeightWithoutMargin(float fHeightCalc); void CalculateTextContentSize(CXFA_FFDoc* doc, CFX_SizeF* pSize); - void CalculateAccWidthAndHeight(CXFA_FFDoc* doc, - float* pWidth, - float* pCalcHeight); + CFX_SizeF CalculateAccWidthAndHeight(CXFA_FFDoc* doc, float fWidth); void InitLayoutData(); void StartTextLayout(CXFA_FFDoc* doc, float* pCalcWidth, float* pCalcHeight); |