diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-21 16:28:00 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-21 16:28:00 +0000 |
commit | 4debddffd0c4cad48ecf153e2584b311b0a16791 (patch) | |
tree | ab8530fc7cb3c07b35b007adc7da42aa7b7ba6c5 /xfa/fxfa/parser/cxfa_widgetdata.h | |
parent | ddc9965f60823a63c1d402e2f35e7ce093bf3ee8 (diff) | |
download | pdfium-4debddffd0c4cad48ecf153e2584b311b0a16791.tar.xz |
Rename the CXFA_WidgetData size methods from Get to Try
These methods all return a boolean so should be named Try instead of
Get.
Change-Id: Ic447bd400c0b4ddcb0d15893883d480ebc33e17d
Reviewed-on: https://pdfium-review.googlesource.com/18891
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_widgetdata.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_widgetdata.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xfa/fxfa/parser/cxfa_widgetdata.h b/xfa/fxfa/parser/cxfa_widgetdata.h index 84369f7177..9d955a3d99 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.h +++ b/xfa/fxfa/parser/cxfa_widgetdata.h @@ -61,12 +61,12 @@ class CXFA_WidgetData : public CXFA_DataData { CXFA_CalculateData GetCalculateData(); CXFA_ValidateData GetValidateData(bool bModified); - bool GetWidth(float& fWidth); - bool GetHeight(float& fHeight); - bool GetMinWidth(float& fMinWidth); - bool GetMinHeight(float& fMinHeight); - bool GetMaxWidth(float& fMaxWidth); - bool GetMaxHeight(float& fMaxHeight); + bool TryWidth(float& fWidth); + bool TryHeight(float& fHeight); + bool TryMinWidth(float& fMinWidth); + bool TryMinHeight(float& fMinHeight); + bool TryMaxWidth(float& fMaxWidth); + bool TryMaxHeight(float& fMaxHeight); CXFA_BorderData GetUIBorderData(); CFX_RectF GetUIMargin(); |