From aee0db0e6a12bdaacebeb8fb791f4e0d45e18a0d Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 21 Sep 2017 16:53:58 -0400 Subject: Move CFX_UnownedPtr to UnownedPtr This CL moves CFX_UnownedPtr to UnownedPtr and places in the fxcrt namespace. Bug: pdfium:898 Change-Id: I6d1fa463f365e5cb3aafa8c8a7a5f7eff62ed8e0 Reviewed-on: https://pdfium-review.googlesource.com/14620 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- xfa/fwl/cfwl_app.h | 2 +- xfa/fwl/cfwl_caret.h | 2 +- xfa/fwl/cfwl_timer.h | 4 ++-- xfa/fwl/cfwl_timerinfo.h | 4 ++-- xfa/fwl/cfwl_widget.h | 8 ++++---- xfa/fwl/cfwl_widgetmgr.h | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'xfa/fwl') diff --git a/xfa/fwl/cfwl_app.h b/xfa/fwl/cfwl_app.h index 04f140f451..ed47149a56 100644 --- a/xfa/fwl/cfwl_app.h +++ b/xfa/fwl/cfwl_app.h @@ -37,7 +37,7 @@ class CFWL_App { CFWL_NoteDriver* GetNoteDriver() const { return m_pNoteDriver.get(); } private: - CFX_UnownedPtr const m_pAdapterNative; + UnownedPtr const m_pAdapterNative; std::unique_ptr m_pWidgetMgr; std::unique_ptr m_pNoteDriver; }; diff --git a/xfa/fwl/cfwl_caret.h b/xfa/fwl/cfwl_caret.h index 32bc79535a..8a0b54fda0 100644 --- a/xfa/fwl/cfwl_caret.h +++ b/xfa/fwl/cfwl_caret.h @@ -51,7 +51,7 @@ class CFWL_Caret : public CFWL_Widget { const CFX_Matrix* pMatrix); std::unique_ptr m_pTimer; - CFX_UnownedPtr m_pTimerInfo; + UnownedPtr m_pTimerInfo; }; #endif // XFA_FWL_CFWL_CARET_H_ diff --git a/xfa/fwl/cfwl_timer.h b/xfa/fwl/cfwl_timer.h index 93de009ed1..da1b4437e2 100644 --- a/xfa/fwl/cfwl_timer.h +++ b/xfa/fwl/cfwl_timer.h @@ -7,8 +7,8 @@ #ifndef XFA_FWL_CFWL_TIMER_H_ #define XFA_FWL_CFWL_TIMER_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/unowned_ptr.h" class CFWL_TimerInfo; class CFWL_Widget; @@ -22,7 +22,7 @@ class CFWL_Timer { CFWL_TimerInfo* StartTimer(uint32_t dwElapse, bool bImmediately); protected: - CFX_UnownedPtr m_pWidget; + UnownedPtr m_pWidget; }; #endif // XFA_FWL_CFWL_TIMER_H_ diff --git a/xfa/fwl/cfwl_timerinfo.h b/xfa/fwl/cfwl_timerinfo.h index ae77ef5d59..c58bcff9a9 100644 --- a/xfa/fwl/cfwl_timerinfo.h +++ b/xfa/fwl/cfwl_timerinfo.h @@ -7,8 +7,8 @@ #ifndef XFA_FWL_CFWL_TIMERINFO_H_ #define XFA_FWL_CFWL_TIMERINFO_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/unowned_ptr.h" class IFWL_AdapterTimerMgr; @@ -20,7 +20,7 @@ class CFWL_TimerInfo { void StopTimer(); private: - CFX_UnownedPtr m_pMgr; + UnownedPtr m_pMgr; }; #endif // XFA_FWL_CFWL_TIMERINFO_H_ diff --git a/xfa/fwl/cfwl_widget.h b/xfa/fwl/cfwl_widget.h index 16a818e708..f4ff63ea29 100644 --- a/xfa/fwl/cfwl_widget.h +++ b/xfa/fwl/cfwl_widget.h @@ -9,9 +9,9 @@ #include -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/unowned_ptr.h" #include "xfa/fde/cfde_textout.h" #include "xfa/fwl/cfwl_event.h" #include "xfa/fwl/cfwl_themepart.h" @@ -148,8 +148,8 @@ class CFWL_Widget : public IFWL_WidgetDelegate { IFWL_ThemeProvider* pTheme, const CFX_Matrix& pMatrix); - CFX_UnownedPtr const m_pOwnerApp; - CFX_UnownedPtr const m_pWidgetMgr; + UnownedPtr const m_pOwnerApp; + UnownedPtr const m_pWidgetMgr; std::unique_ptr m_pProperties; CFWL_Widget* m_pOuter; int32_t m_iLock; @@ -184,7 +184,7 @@ class CFWL_Widget : public IFWL_WidgetDelegate { CXFA_FFWidget* m_pLayoutItem; uint32_t m_nEventKey; - CFX_UnownedPtr m_pDelegate; + UnownedPtr m_pDelegate; }; #endif // XFA_FWL_CFWL_WIDGET_H_ diff --git a/xfa/fwl/cfwl_widgetmgr.h b/xfa/fwl/cfwl_widgetmgr.h index c7e48a1f60..6f6c39a6f9 100644 --- a/xfa/fwl/cfwl_widgetmgr.h +++ b/xfa/fwl/cfwl_widgetmgr.h @@ -113,7 +113,7 @@ class CFWL_WidgetMgr { uint32_t m_dwCapability; std::map> m_mapWidgetItem; - CFX_UnownedPtr const m_pAdapter; + UnownedPtr const m_pAdapter; #if (_FX_OS_ == _FX_WIN32_DESKTOP_) || (_FX_OS_ == _FX_WIN64_) CFX_RectF m_rtScreen; #endif -- cgit v1.2.3