summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_textprovider.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-21 16:28:00 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-21 16:28:00 +0000
commit4debddffd0c4cad48ecf153e2584b311b0a16791 (patch)
treeab8530fc7cb3c07b35b007adc7da42aa7b7ba6c5 /xfa/fxfa/cxfa_textprovider.cpp
parentddc9965f60823a63c1d402e2f35e7ce093bf3ee8 (diff)
downloadpdfium-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/cxfa_textprovider.cpp')
-rw-r--r--xfa/fxfa/cxfa_textprovider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_textprovider.cpp b/xfa/fxfa/cxfa_textprovider.cpp
index 544a5c26b9..edefc2960c 100644
--- a/xfa/fxfa/cxfa_textprovider.cpp
+++ b/xfa/fxfa/cxfa_textprovider.cpp
@@ -134,7 +134,7 @@ bool CXFA_TextProvider::IsCheckButtonAndAutoWidth() {
return false;
float fWidth = 0;
- return !m_pWidgetAcc->GetWidth(fWidth);
+ return !m_pWidgetAcc->TryWidth(fWidth);
}
bool CXFA_TextProvider::GetEmbbedObj(bool bURI,