diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-21 23:07:21 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-21 23:07:21 +0000 |
commit | bcdbeaea96d53800ee806f463108f54f79a19347 (patch) | |
tree | e302a98da36cd67b709c6d75a4940c2975edfa0e /xfa/fwl/cfwl_widgetmgr.h | |
parent | 1a3e186e975aa8eb6a6e42f2626b6f8ca980db19 (diff) | |
download | pdfium-bcdbeaea96d53800ee806f463108f54f79a19347.tar.xz |
Use UnownedPtr<> to theme provider in cfwl_widgetproperties.h
Mark two other fields which must remain raw.
Change-Id: Idcd9b074aad23f35dc6607feeaa4fa6701efffaa
Reviewed-on: https://pdfium-review.googlesource.com/40916
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_widgetmgr.h')
-rw-r--r-- | xfa/fwl/cfwl_widgetmgr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fwl/cfwl_widgetmgr.h b/xfa/fwl/cfwl_widgetmgr.h index 856e7f4cc2..68c02bef7b 100644 --- a/xfa/fwl/cfwl_widgetmgr.h +++ b/xfa/fwl/cfwl_widgetmgr.h @@ -31,7 +31,7 @@ class CFWL_WidgetMgr { CXFA_Graphics* pGraphics, const CFX_Matrix& matrix); - CFWL_Widget* GetParentWidget(CFWL_Widget* pWidget) const; + CFWL_Widget* GetParentWidget(const CFWL_Widget* pWidget) const; CFWL_Widget* GetOwnerWidget(CFWL_Widget* pWidget) const; CFWL_Widget* GetNextSiblingWidget(CFWL_Widget* pWidget) const; CFWL_Widget* GetFirstChildWidget(CFWL_Widget* pWidget) const; @@ -80,7 +80,7 @@ class CFWL_WidgetMgr { CFWL_Widget* GetFirstSiblingWidget(CFWL_Widget* pWidget) const; CFWL_Widget* GetPriorSiblingWidget(CFWL_Widget* pWidget) const; CFWL_Widget* GetLastChildWidget(CFWL_Widget* pWidget) const; - Item* GetWidgetMgrItem(CFWL_Widget* pWidget) const; + Item* GetWidgetMgrItem(const CFWL_Widget* pWidget) const; void AppendWidget(CFWL_Widget* pWidget); @@ -96,7 +96,7 @@ class CFWL_WidgetMgr { bool IsAbleNative(CFWL_Widget* pWidget) const; - std::map<CFWL_Widget*, std::unique_ptr<Item>> m_mapWidgetItem; + std::map<const CFWL_Widget*, std::unique_ptr<Item>> m_mapWidgetItem; UnownedPtr<CXFA_FWLAdapterWidgetMgr> const m_pAdapter; }; |