summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_widget.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-16 07:32:48 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-16 07:32:48 -0800
commit92549cd7502296328aecef23dab6d7fc0e847645 (patch)
treea210fab53a0c4b8434c8bd43b288c1b15608b305 /xfa/fwl/core/cfwl_widget.h
parent72f957a0bafaf7c9628980e404c471b54f42de8f (diff)
downloadpdfium-92549cd7502296328aecef23dab6d7fc0e847645.tar.xz
Continue nit cleanup in fwl/core
Review-Url: https://codereview.chromium.org/2506493003
Diffstat (limited to 'xfa/fwl/core/cfwl_widget.h')
-rw-r--r--xfa/fwl/core/cfwl_widget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fwl/core/cfwl_widget.h b/xfa/fwl/core/cfwl_widget.h
index 5461f480fd..7f486585ab 100644
--- a/xfa/fwl/core/cfwl_widget.h
+++ b/xfa/fwl/core/cfwl_widget.h
@@ -23,8 +23,8 @@ class CFWL_Widget {
explicit CFWL_Widget(const IFWL_App*);
virtual ~CFWL_Widget();
- IFWL_Widget* GetWidget();
- const IFWL_Widget* GetWidget() const;
+ IFWL_Widget* GetWidget() { return m_pIface.get(); }
+ IFWL_Widget* GetWidget() const { return m_pIface.get(); }
void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false);
void SetWidgetRect(const CFX_RectF& rect);