Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: xfa/fwl/core/cfwl_widget.h

Issue 2506493003: Continue nit cleanup in fwl/core (Closed)
Patch Set: Prior review comment Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..6ba5af7489e5fd404a1b7a7b1eefa716bb2c0f1d 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(); }
+ const IFWL_Widget* GetWidget() const { return m_pIface.get(); }
Tom Sepez 2016/11/15 22:29:29 I don't think we need both, since its a pointer an
dsinclair 2016/11/16 15:10:47 Done.
void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false);
void SetWidgetRect(const CFX_RectF& rect);

Powered by Google App Engine
This is Rietveld 408576698