summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_widget.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-10 14:22:06 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-10 14:22:06 -0800
commita0d3231037816d3f0e377e9c57a2bfaa1372e151 (patch)
tree444a472a55b389902eaffe8b1ef1f2d02f134b2a /xfa/fwl/core/ifwl_widget.cpp
parent522c3d414e26a8a6b14407d664cee38fa3f52c07 (diff)
downloadpdfium-a0d3231037816d3f0e377e9c57a2bfaa1372e151.tar.xz
Remove IFWL methods proxied from CFWL classeschromium/2916
This CL removes a few methods from IFWL that are around just to proxy from CFWL methods which are, in turn, never called. Review-Url: https://codereview.chromium.org/2486333004
Diffstat (limited to 'xfa/fwl/core/ifwl_widget.cpp')
-rw-r--r--xfa/fwl/core/ifwl_widget.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/xfa/fwl/core/ifwl_widget.cpp b/xfa/fwl/core/ifwl_widget.cpp
index 1399799668..0768f38915 100644
--- a/xfa/fwl/core/ifwl_widget.cpp
+++ b/xfa/fwl/core/ifwl_widget.cpp
@@ -75,19 +75,6 @@ void IFWL_Widget::GetWidgetRect(CFX_RectF& rect, bool bAutoSize) {
}
}
-void IFWL_Widget::GetGlobalRect(CFX_RectF& rect) {
- IFWL_Widget* pForm = m_pWidgetMgr->GetSystemFormWidget(this);
- if (!pForm)
- return;
-
- rect.Set(0, 0, m_pProperties->m_rtWidget.width,
- m_pProperties->m_rtWidget.height);
- if (pForm == this)
- return;
-
- TransformTo(pForm, rect.left, rect.top);
-}
-
void IFWL_Widget::SetWidgetRect(const CFX_RectF& rect) {
CFX_RectF rtOld = m_pProperties->m_rtWidget;
m_pProperties->m_rtWidget = rect;