summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_combobox.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-07 18:24:00 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-07 18:24:00 -0800
commit67c6ca3cd86b6a31c888264bb8067c6c4324e56c (patch)
tree0bd48cd23e9d0a0d80866cbbc71793ea7ac31123 /xfa/fwl/core/cfwl_combobox.cpp
parenta2cbc570a035186529be151af0b3d44cf4106eee (diff)
downloadpdfium-67c6ca3cd86b6a31c888264bb8067c6c4324e56c.tar.xz
Split CFWL_Widget::GetWidgetRect into two parts
This CL splits the inflation logic out of GetWidgetRect to allow subclasses to call that directly instead of the CFWL_Widget::GetWidgetRect method. Review-Url: https://codereview.chromium.org/2555253002
Diffstat (limited to 'xfa/fwl/core/cfwl_combobox.cpp')
-rw-r--r--xfa/fwl/core/cfwl_combobox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/core/cfwl_combobox.cpp b/xfa/fwl/core/cfwl_combobox.cpp
index 8cc1e18873..3c0337ed57 100644
--- a/xfa/fwl/core/cfwl_combobox.cpp
+++ b/xfa/fwl/core/cfwl_combobox.cpp
@@ -94,7 +94,7 @@ void CFWL_ComboBox::GetWidgetRect(CFX_RectF& rect, bool bAutoSize) {
return;
rect.Inflate(0, 0, *pFWidth, 0);
- CFWL_Widget::GetWidgetRect(rect, true);
+ InflateWidgetRect(rect);
}
void CFWL_ComboBox::AddString(const CFX_WideStringC& wsText) {