Index: xfa/fwl/core/cfwl_widget.h |
diff --git a/xfa/fwl/core/cfwl_widget.h b/xfa/fwl/core/cfwl_widget.h |
index 5461f480fd2858158f72425b742bf963172190b0..7f486585ab0cded2bfbee2b8ab6b920ea1268ef5 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); |