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 --- fpdfsdk/cba_annotiterator.h | 4 ++-- fpdfsdk/cfx_systemhandler.h | 4 ++-- fpdfsdk/cpdfsdk_annot.h | 4 ++-- fpdfsdk/cpdfsdk_annothandlermgr.h | 2 +- fpdfsdk/cpdfsdk_baannot.h | 2 +- fpdfsdk/cpdfsdk_formfillenvironment.h | 2 +- fpdfsdk/cpdfsdk_interform.h | 4 ++-- fpdfsdk/cpdfsdk_pageview.h | 4 ++-- fpdfsdk/cpdfsdk_widget.h | 8 ++++---- fpdfsdk/cpdfsdk_widgethandler.h | 6 +++--- fpdfsdk/cpdfsdk_xfawidget.h | 6 +++--- fpdfsdk/cpdfsdk_xfawidgethandler.h | 4 ++-- fpdfsdk/formfiller/cba_fontmap.h | 8 ++++---- fpdfsdk/formfiller/cffl_formfiller.h | 6 +++--- fpdfsdk/formfiller/cffl_interactiveformfiller.h | 4 ++-- fpdfsdk/fpdf_sysfontinfo.cpp | 2 +- fpdfsdk/fpdfannot.cpp | 4 ++-- fpdfsdk/fpdfdoc_unittest.cpp | 2 +- fpdfsdk/fpdfppo.cpp | 6 +++--- fpdfsdk/fpdfxfa/cpdfxfa_context.h | 4 ++-- fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h | 4 ++-- fpdfsdk/fpdfxfa/cpdfxfa_page.h | 4 ++-- fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h | 4 ++-- fpdfsdk/fsdk_pauseadapter.h | 4 ++-- fpdfsdk/javascript/JS_EventHandler.h | 10 +++++----- fpdfsdk/javascript/JS_Object.h | 2 +- fpdfsdk/javascript/JS_Runtime_Stub.cpp | 4 ++-- fpdfsdk/javascript/JS_Value.h | 2 +- fpdfsdk/javascript/cjs_event_context.h | 4 ++-- fpdfsdk/pwl/cpwl_appstream.h | 6 +++--- fpdfsdk/pwl/cpwl_combo_box.h | 12 ++++++------ fpdfsdk/pwl/cpwl_edit.h | 6 +++--- fpdfsdk/pwl/cpwl_edit_impl.h | 20 ++++++++++---------- fpdfsdk/pwl/cpwl_font_map.h | 2 +- fpdfsdk/pwl/cpwl_icon.h | 6 +++--- fpdfsdk/pwl/cpwl_list_box.h | 8 ++++---- fpdfsdk/pwl/cpwl_list_impl.h | 6 +++--- fpdfsdk/pwl/cpwl_scroll_bar.h | 8 ++++---- fpdfsdk/pwl/cpwl_timer.h | 6 +++--- fpdfsdk/pwl/cpwl_wnd.cpp | 6 +++--- fpdfsdk/pwl/cpwl_wnd.h | 8 ++++---- 41 files changed, 109 insertions(+), 109 deletions(-) (limited to 'fpdfsdk') diff --git a/fpdfsdk/cba_annotiterator.h b/fpdfsdk/cba_annotiterator.h index 36eacd91c0..8f9768d1e2 100644 --- a/fpdfsdk/cba_annotiterator.h +++ b/fpdfsdk/cba_annotiterator.h @@ -10,9 +10,9 @@ #include #include "core/fpdfdoc/cpdf_annot.h" -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_string.h" +#include "core/fxcrt/unowned_ptr.h" class CPDFSDK_Annot; class CPDFSDK_PageView; @@ -38,7 +38,7 @@ class CBA_AnnotIterator { std::vector* aSelect); TabOrder m_eTabOrder; - CFX_UnownedPtr m_pPageView; + UnownedPtr m_pPageView; CPDF_Annot::Subtype m_nAnnotSubtype; std::vector m_Annots; }; diff --git a/fpdfsdk/cfx_systemhandler.h b/fpdfsdk/cfx_systemhandler.h index a2ad02438e..f9138cc078 100644 --- a/fpdfsdk/cfx_systemhandler.h +++ b/fpdfsdk/cfx_systemhandler.h @@ -7,10 +7,10 @@ #ifndef FPDFSDK_CFX_SYSTEMHANDLER_H_ #define FPDFSDK_CFX_SYSTEMHANDLER_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_string.h" #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/unowned_ptr.h" using TimerCallback = void (*)(int32_t idEvent); @@ -67,7 +67,7 @@ class CFX_SystemHandler { void KillTimer(int32_t nID); private: - CFX_UnownedPtr const m_pFormFillEnv; + UnownedPtr const m_pFormFillEnv; }; #endif // FPDFSDK_CFX_SYSTEMHANDLER_H_ diff --git a/fpdfsdk/cpdfsdk_annot.h b/fpdfsdk/cpdfsdk_annot.h index 325b4298ef..a6c4066ea5 100644 --- a/fpdfsdk/cpdfsdk_annot.h +++ b/fpdfsdk/cpdfsdk_annot.h @@ -10,8 +10,8 @@ #include "core/fpdfdoc/cpdf_aaction.h" #include "core/fpdfdoc/cpdf_annot.h" #include "core/fpdfdoc/cpdf_defaultappearance.h" -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/observable.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/cfx_systemhandler.h" #include "fpdfsdk/fsdk_common.h" #include "fpdfsdk/fsdk_define.h" @@ -50,7 +50,7 @@ class CPDFSDK_Annot : public Observable { CPDFSDK_PageView* GetPageView() const { return m_pPageView.Get(); } protected: - CFX_UnownedPtr const m_pPageView; + UnownedPtr const m_pPageView; }; #endif // FPDFSDK_CPDFSDK_ANNOT_H_ diff --git a/fpdfsdk/cpdfsdk_annothandlermgr.h b/fpdfsdk/cpdfsdk_annothandlermgr.h index 21ccb3a2fb..df4e1a224c 100644 --- a/fpdfsdk/cpdfsdk_annothandlermgr.h +++ b/fpdfsdk/cpdfsdk_annothandlermgr.h @@ -11,8 +11,8 @@ #include #include "core/fpdfdoc/cpdf_annot.h" -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_coordinates.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/cpdfsdk_annot.h" class CFX_Matrix; diff --git a/fpdfsdk/cpdfsdk_baannot.h b/fpdfsdk/cpdfsdk_baannot.h index c7300c46e5..ac3c0cb384 100644 --- a/fpdfsdk/cpdfsdk_baannot.h +++ b/fpdfsdk/cpdfsdk_baannot.h @@ -95,7 +95,7 @@ class CPDFSDK_BAAnnot : public CPDFSDK_Annot { int GetLayoutOrder() const override; protected: - CFX_UnownedPtr const m_pAnnot; + UnownedPtr const m_pAnnot; }; #endif // FPDFSDK_CPDFSDK_BAANNOT_H_ diff --git a/fpdfsdk/cpdfsdk_formfillenvironment.h b/fpdfsdk/cpdfsdk_formfillenvironment.h index d6f7088c1f..31a1c5156c 100644 --- a/fpdfsdk/cpdfsdk_formfillenvironment.h +++ b/fpdfsdk/cpdfsdk_formfillenvironment.h @@ -227,7 +227,7 @@ class CPDFSDK_FormFillEnvironment std::map> m_PageMap; std::unique_ptr m_pInterForm; CPDFSDK_Annot::ObservedPtr m_pFocusAnnot; - CFX_UnownedPtr m_pUnderlyingDoc; + UnownedPtr m_pUnderlyingDoc; std::unique_ptr m_pFormFiller; std::unique_ptr m_pSysHandler; bool m_bChangeMask; diff --git a/fpdfsdk/cpdfsdk_interform.h b/fpdfsdk/cpdfsdk_interform.h index e14589ec59..76acaf9ebf 100644 --- a/fpdfsdk/cpdfsdk_interform.h +++ b/fpdfsdk/cpdfsdk_interform.h @@ -13,7 +13,7 @@ #include "core/fpdfdoc/cpdf_action.h" #include "core/fpdfdoc/ipdf_formnotify.h" -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "core/fxge/fx_dib.h" #include "fpdfsdk/cpdfsdk_widget.h" @@ -121,7 +121,7 @@ class CPDFSDK_InterForm : public IPDF_FormNotify { using CPDFSDK_WidgetMap = std::map; - CFX_UnownedPtr m_pFormFillEnv; + UnownedPtr m_pFormFillEnv; std::unique_ptr m_pInterForm; CPDFSDK_WidgetMap m_Map; #ifdef PDF_ENABLE_XFA diff --git a/fpdfsdk/cpdfsdk_pageview.h b/fpdfsdk/cpdfsdk_pageview.h index b86f30512f..03f3ab6318 100644 --- a/fpdfsdk/cpdfsdk_pageview.h +++ b/fpdfsdk/cpdfsdk_pageview.h @@ -11,8 +11,8 @@ #include #include "core/fpdfapi/page/cpdf_page.h" -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/cpdfsdk_annot.h" #include "fpdfsdk/cpdfsdk_annothandlermgr.h" @@ -117,7 +117,7 @@ class CPDFSDK_PageView final : public CPDF_Page::View { UnderlyingPageType* const m_page; std::unique_ptr m_pAnnotList; std::vector m_SDKAnnotArray; - CFX_UnownedPtr const m_pFormFillEnv; + UnownedPtr const m_pFormFillEnv; CPDFSDK_Annot::ObservedPtr m_pCaptureWidget; #ifndef PDF_ENABLE_XFA bool m_bOwnsPage; diff --git a/fpdfsdk/cpdfsdk_widget.h b/fpdfsdk/cpdfsdk_widget.h index 5b2411e170..f57e08d526 100644 --- a/fpdfsdk/cpdfsdk_widget.h +++ b/fpdfsdk/cpdfsdk_widget.h @@ -12,9 +12,9 @@ #include "core/fpdfdoc/cpdf_aaction.h" #include "core/fpdfdoc/cpdf_action.h" #include "core/fpdfdoc/cpdf_annot.h" -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_string.h" +#include "core/fxcrt/unowned_ptr.h" #include "core/fxge/cfx_color.h" #include "fpdfsdk/cpdfsdk_baannot.h" #include "fpdfsdk/pdfsdk_fieldaction.h" @@ -147,14 +147,14 @@ class CPDFSDK_Widget : public CPDFSDK_BAAnnot { CFX_Color GetFillPWLColor() const; private: - CFX_UnownedPtr const m_pInterForm; + UnownedPtr const m_pInterForm; bool m_bAppModified; uint32_t m_nAppearanceAge; uint32_t m_nValueAge; #ifdef PDF_ENABLE_XFA - mutable CFX_UnownedPtr m_hMixXFAWidget; - mutable CFX_UnownedPtr m_pWidgetHandler; + mutable UnownedPtr m_hMixXFAWidget; + mutable UnownedPtr m_pWidgetHandler; #endif // PDF_ENABLE_XFA }; diff --git a/fpdfsdk/cpdfsdk_widgethandler.h b/fpdfsdk/cpdfsdk_widgethandler.h index d83c98f255..f8aa7de5bd 100644 --- a/fpdfsdk/cpdfsdk_widgethandler.h +++ b/fpdfsdk/cpdfsdk_widgethandler.h @@ -7,8 +7,8 @@ #ifndef FPDFSDK_CPDFSDK_WIDGETHANDLER_H_ #define FPDFSDK_CPDFSDK_WIDGETHANDLER_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_coordinates.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/ipdfsdk_annothandler.h" class CFFL_InteractiveFormFiller; @@ -103,8 +103,8 @@ class CPDFSDK_WidgetHandler : public IPDFSDK_AnnotHandler { } private: - CFX_UnownedPtr const m_pFormFillEnv; - CFX_UnownedPtr const m_pFormFiller; + UnownedPtr const m_pFormFillEnv; + UnownedPtr const m_pFormFiller; }; #endif // FPDFSDK_CPDFSDK_WIDGETHANDLER_H_ diff --git a/fpdfsdk/cpdfsdk_xfawidget.h b/fpdfsdk/cpdfsdk_xfawidget.h index 42448b804f..d2635eb4e1 100644 --- a/fpdfsdk/cpdfsdk_xfawidget.h +++ b/fpdfsdk/cpdfsdk_xfawidget.h @@ -7,9 +7,9 @@ #ifndef FPDFSDK_CPDFSDK_XFAWIDGET_H_ #define FPDFSDK_CPDFSDK_XFAWIDGET_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_string.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/cpdfsdk_annot.h" class CPDFSDK_InterForm; @@ -32,8 +32,8 @@ class CPDFSDK_XFAWidget : public CPDFSDK_Annot { CPDFSDK_InterForm* GetInterForm() const { return m_pInterForm.Get(); } private: - CFX_UnownedPtr m_pInterForm; - CFX_UnownedPtr m_hXFAWidget; + UnownedPtr m_pInterForm; + UnownedPtr m_hXFAWidget; }; #endif // FPDFSDK_CPDFSDK_XFAWIDGET_H_ diff --git a/fpdfsdk/cpdfsdk_xfawidgethandler.h b/fpdfsdk/cpdfsdk_xfawidgethandler.h index e26472d69c..e0dccbe685 100644 --- a/fpdfsdk/cpdfsdk_xfawidgethandler.h +++ b/fpdfsdk/cpdfsdk_xfawidgethandler.h @@ -7,8 +7,8 @@ #ifndef FPDFSDK_CPDFSDK_XFAWIDGETHANDLER_H_ #define FPDFSDK_CPDFSDK_XFAWIDGETHANDLER_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_coordinates.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/ipdfsdk_annothandler.h" class CFX_Matrix; @@ -94,7 +94,7 @@ class CPDFSDK_XFAWidgetHandler : public IPDFSDK_AnnotHandler { CXFA_FFWidgetHandler* GetXFAWidgetHandler(CPDFSDK_Annot* pAnnot); uint32_t GetFWLFlags(uint32_t dwFlag); - CFX_UnownedPtr const m_pFormFillEnv; + UnownedPtr const m_pFormFillEnv; }; #endif // FPDFSDK_CPDFSDK_XFAWIDGETHANDLER_H_ diff --git a/fpdfsdk/formfiller/cba_fontmap.h b/fpdfsdk/formfiller/cba_fontmap.h index 807cb65f4f..45df8c82ad 100644 --- a/fpdfsdk/formfiller/cba_fontmap.h +++ b/fpdfsdk/formfiller/cba_fontmap.h @@ -7,7 +7,7 @@ #ifndef FPDFSDK_FORMFILLER_CBA_FONTMAP_H_ #define FPDFSDK_FORMFILLER_CBA_FONTMAP_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/pwl/cpwl_font_map.h" class CPDF_Dictionary; @@ -36,9 +36,9 @@ class CBA_FontMap : public CPWL_FontMap { CPDF_Font* GetAnnotDefaultFont(ByteString* csNameTag); void AddFontToAnnotDict(CPDF_Font* pFont, const ByteString& sAlias); - CFX_UnownedPtr m_pDocument; - CFX_UnownedPtr m_pAnnotDict; - CFX_UnownedPtr m_pDefaultFont; + UnownedPtr m_pDocument; + UnownedPtr m_pAnnotDict; + UnownedPtr m_pDefaultFont; ByteString m_sDefaultFontName; ByteString m_sAPType; }; diff --git a/fpdfsdk/formfiller/cffl_formfiller.h b/fpdfsdk/formfiller/cffl_formfiller.h index 26f6052df8..11a2f8c935 100644 --- a/fpdfsdk/formfiller/cffl_formfiller.h +++ b/fpdfsdk/formfiller/cffl_formfiller.h @@ -9,7 +9,7 @@ #include -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/formfiller/cba_fontmap.h" #include "fpdfsdk/formfiller/cffl_interactiveformfiller.h" #include "fpdfsdk/pdfsdk_fieldaction.h" @@ -152,8 +152,8 @@ class CFFL_FormFiller : public CPWL_Wnd::ProviderIface, void InvalidateRect(const FX_RECT& rect); - CFX_UnownedPtr const m_pFormFillEnv; - CFX_UnownedPtr m_pWidget; + UnownedPtr const m_pFormFillEnv; + UnownedPtr m_pWidget; bool m_bValid; CFFL_PageView2PDFWindow m_Maps; }; diff --git a/fpdfsdk/formfiller/cffl_interactiveformfiller.h b/fpdfsdk/formfiller/cffl_interactiveformfiller.h index 553cbe8f1d..7485dcfd6c 100644 --- a/fpdfsdk/formfiller/cffl_interactiveformfiller.h +++ b/fpdfsdk/formfiller/cffl_interactiveformfiller.h @@ -11,7 +11,7 @@ #include #include -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/cpdfsdk_annot.h" #include "fpdfsdk/fsdk_define.h" #include "fpdfsdk/pwl/cpwl_edit.h" @@ -148,7 +148,7 @@ class CFFL_InteractiveFormFiller : public IPWL_Filler_Notify { #endif // PDF_ENABLE_XFA void UnRegisterFormFiller(CPDFSDK_Annot* pAnnot); - CFX_UnownedPtr const m_pFormFillEnv; + UnownedPtr const m_pFormFillEnv; CFFL_Widget2Filler m_Maps; bool m_bNotifying; }; diff --git a/fpdfsdk/fpdf_sysfontinfo.cpp b/fpdfsdk/fpdf_sysfontinfo.cpp index 875f3fd992..67b9a08beb 100644 --- a/fpdfsdk/fpdf_sysfontinfo.cpp +++ b/fpdfsdk/fpdf_sysfontinfo.cpp @@ -124,7 +124,7 @@ FPDF_EXPORT const FPDF_CharsetFontMap* FPDF_CALLCONV FPDF_GetDefaultTTFMap() { } struct FPDF_SYSFONTINFO_DEFAULT : public FPDF_SYSFONTINFO { - CFX_UnownedPtr m_pFontInfo; + UnownedPtr m_pFontInfo; }; static void DefaultRelease(struct _FPDF_SYSFONTINFO* pThis) { diff --git a/fpdfsdk/fpdfannot.cpp b/fpdfsdk/fpdfannot.cpp index e08a3bf17f..3125ad1a82 100644 --- a/fpdfsdk/fpdfannot.cpp +++ b/fpdfsdk/fpdfannot.cpp @@ -160,8 +160,8 @@ class CPDF_AnnotContext { private: std::unique_ptr m_pAnnotForm; - CFX_UnownedPtr m_pAnnotDict; - CFX_UnownedPtr m_pPage; + UnownedPtr m_pAnnotDict; + UnownedPtr m_pPage; }; CPDF_AnnotContext* CPDFAnnotContextFromFPDFAnnotation(FPDF_ANNOTATION annot) { diff --git a/fpdfsdk/fpdfdoc_unittest.cpp b/fpdfsdk/fpdfdoc_unittest.cpp index 6409f70fe2..b52cccf098 100644 --- a/fpdfsdk/fpdfdoc_unittest.cpp +++ b/fpdfsdk/fpdfdoc_unittest.cpp @@ -87,7 +87,7 @@ class PDFDocTest : public testing::Test { protected: std::unique_ptr m_pDoc; - CFX_UnownedPtr m_pIndirectObjs; + UnownedPtr m_pIndirectObjs; std::unique_ptr m_pRootObj; }; diff --git a/fpdfsdk/fpdfppo.cpp b/fpdfsdk/fpdfppo.cpp index 230fd14fc8..153ae2e20c 100644 --- a/fpdfsdk/fpdfppo.cpp +++ b/fpdfsdk/fpdfppo.cpp @@ -18,7 +18,7 @@ #include "core/fpdfapi/parser/cpdf_reference.h" #include "core/fpdfapi/parser/cpdf_stream.h" #include "core/fpdfapi/parser/cpdf_string.h" -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/fsdk_define.h" #include "third_party/base/ptr_util.h" #include "third_party/base/stl_util.h" @@ -141,8 +141,8 @@ class CPDF_PageOrganizer { bool UpdateReference(CPDF_Object* pObj, ObjectNumberMap* pObjNumberMap); uint32_t GetNewObjId(ObjectNumberMap* pObjNumberMap, CPDF_Reference* pRef); - CFX_UnownedPtr m_pDestPDFDoc; - CFX_UnownedPtr m_pSrcPDFDoc; + UnownedPtr m_pDestPDFDoc; + UnownedPtr m_pSrcPDFDoc; }; CPDF_PageOrganizer::CPDF_PageOrganizer(CPDF_Document* pDestPDFDoc, diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_context.h b/fpdfsdk/fpdfxfa/cpdfxfa_context.h index df42cbb9fd..52af64ac86 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_context.h +++ b/fpdfsdk/fpdfxfa/cpdfxfa_context.h @@ -10,9 +10,9 @@ #include #include -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_system.h" #include "core/fxcrt/observable.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h" #include "fpdfsdk/fpdfxfa/cpdfxfa_page.h" #include "xfa/fxfa/cxfa_ffdoc.h" @@ -105,7 +105,7 @@ class CPDFXFA_Context : public IXFA_AppProvider { std::unique_ptr m_pPDFDoc; std::unique_ptr m_pXFADoc; Observable::ObservedPtr m_pFormFillEnv; - CFX_UnownedPtr m_pXFADocView; + UnownedPtr m_pXFADocView; std::unique_ptr m_pXFAApp; std::unique_ptr m_pRuntime; std::vector> m_XFAPageList; diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h index 6f7d41d86e..62830b0804 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h +++ b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h @@ -7,8 +7,8 @@ #ifndef FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ #define FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/retain_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "public/fpdfview.h" #include "xfa/fxfa/fxfa.h" @@ -106,7 +106,7 @@ class CPDFXFA_DocEnvironment : public IXFA_DocEnvironment { FPDF_DWORD flag); void ToXFAContentFlags(WideString csSrcContent, FPDF_DWORD& flag); - CFX_UnownedPtr const m_pContext; + UnownedPtr const m_pContext; }; #endif // FPDFSDK_FPDFXFA_CPDFXFA_DOCENVIRONMENT_H_ diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_page.h b/fpdfsdk/fpdfxfa/cpdfxfa_page.h index 5c4e0dca76..f64d66b10c 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_page.h +++ b/fpdfsdk/fpdfxfa/cpdfxfa_page.h @@ -9,9 +9,9 @@ #include -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_system.h" #include "core/fxcrt/retain_ptr.h" +#include "core/fxcrt/unowned_ptr.h" class CFX_Matrix; class CPDFXFA_Context; @@ -74,7 +74,7 @@ class CPDFXFA_Page : public Retainable { private: std::unique_ptr m_pPDFPage; CXFA_FFPageView* m_pXFAPageView; - CFX_UnownedPtr const m_pContext; + UnownedPtr const m_pContext; const int m_iPageIndex; }; diff --git a/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h b/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h index 2b22c5fb75..d763f025ff 100644 --- a/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h +++ b/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h @@ -10,7 +10,7 @@ #include #include -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/fpdfxfa/cpdfxfa_context.h" #include "xfa/fwl/cfwl_timerinfo.h" #include "xfa/fwl/ifwl_adaptertimermgr.h" @@ -30,7 +30,7 @@ class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr { static void TimerProc(int32_t idEvent); static std::vector* s_TimerArray; - CFX_UnownedPtr const m_pFormFillEnv; + UnownedPtr const m_pFormFillEnv; }; #endif // FPDFSDK_FPDFXFA_CXFA_FWLADAPTERTIMERMGR_H_ diff --git a/fpdfsdk/fsdk_pauseadapter.h b/fpdfsdk/fsdk_pauseadapter.h index 25028f8d67..a0d009874e 100644 --- a/fpdfsdk/fsdk_pauseadapter.h +++ b/fpdfsdk/fsdk_pauseadapter.h @@ -7,9 +7,9 @@ #ifndef FPDFSDK_FSDK_PAUSEADAPTER_H_ #define FPDFSDK_FSDK_PAUSEADAPTER_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_system.h" #include "core/fxcrt/ifx_pauseindicator.h" +#include "core/fxcrt/unowned_ptr.h" #include "public/fpdf_progressive.h" class IFSDK_PAUSE_Adapter : public IFX_PauseIndicator { @@ -20,7 +20,7 @@ class IFSDK_PAUSE_Adapter : public IFX_PauseIndicator { bool NeedToPauseNow() override; private: - CFX_UnownedPtr const m_IPause; + UnownedPtr const m_IPause; }; #endif // FPDFSDK_FSDK_PAUSEADAPTER_H_ diff --git a/fpdfsdk/javascript/JS_EventHandler.h b/fpdfsdk/javascript/JS_EventHandler.h index 8273b41cc5..6f10ba596c 100644 --- a/fpdfsdk/javascript/JS_EventHandler.h +++ b/fpdfsdk/javascript/JS_EventHandler.h @@ -7,9 +7,9 @@ #ifndef FPDFSDK_JAVASCRIPT_JS_EVENTHANDLER_H_ #define FPDFSDK_JAVASCRIPT_JS_EVENTHANDLER_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_string.h" #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/cpdfsdk_formfillenvironment.h" class CJS_EventContext; @@ -166,13 +166,13 @@ class CJS_EventHandler { JS_EVENT_T EventType() { return m_eEventType; } public: - CFX_UnownedPtr const m_pJSEventContext; + UnownedPtr const m_pJSEventContext; JS_EVENT_T m_eEventType; bool m_bValid; WideString m_strTargetName; WideString m_strSourceName; - CFX_UnownedPtr m_pWideStrChange; + UnownedPtr m_pWideStrChange; WideString m_WideStrChangeDu; WideString m_WideStrChangeEx; int m_nCommitKey; @@ -184,12 +184,12 @@ class CJS_EventHandler { int* m_pISelStart; int m_nSelStartDu; bool m_bWillCommit; - CFX_UnownedPtr m_pValue; + UnownedPtr m_pValue; bool m_bFieldFull; bool* m_pbRc; bool m_bRcDu; - CFX_UnownedPtr m_pTargetBookMark; + UnownedPtr m_pTargetBookMark; CPDFSDK_FormFillEnvironment::ObservedPtr m_pTargetFormFillEnv; CPDFSDK_Annot::ObservedPtr m_pTargetAnnot; }; diff --git a/fpdfsdk/javascript/JS_Object.h b/fpdfsdk/javascript/JS_Object.h index e32b8515b5..293b98acf6 100644 --- a/fpdfsdk/javascript/JS_Object.h +++ b/fpdfsdk/javascript/JS_Object.h @@ -26,7 +26,7 @@ class CJS_EmbedObj { CJS_Object* GetJSObject() const { return m_pJSObject.Get(); } protected: - CFX_UnownedPtr const m_pJSObject; + UnownedPtr const m_pJSObject; }; class CJS_Object { diff --git a/fpdfsdk/javascript/JS_Runtime_Stub.cpp b/fpdfsdk/javascript/JS_Runtime_Stub.cpp index 068031f450..d25e257851 100644 --- a/fpdfsdk/javascript/JS_Runtime_Stub.cpp +++ b/fpdfsdk/javascript/JS_Runtime_Stub.cpp @@ -6,7 +6,7 @@ #include -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/javascript/ijs_event_context.h" #include "fpdfsdk/javascript/ijs_runtime.h" #include "third_party/base/ptr_util.h" @@ -152,7 +152,7 @@ class CJS_RuntimeStub final : public IJS_Runtime { } protected: - CFX_UnownedPtr const m_pFormFillEnv; + UnownedPtr const m_pFormFillEnv; std::unique_ptr m_pContext; }; diff --git a/fpdfsdk/javascript/JS_Value.h b/fpdfsdk/javascript/JS_Value.h index 1d430ee06c..8c94ca742a 100644 --- a/fpdfsdk/javascript/JS_Value.h +++ b/fpdfsdk/javascript/JS_Value.h @@ -117,7 +117,7 @@ class CJS_PropValue { private: bool m_bIsSetting; CJS_Value m_Value; - CFX_UnownedPtr const m_pJSRuntime; + UnownedPtr const m_pJSRuntime; }; class CJS_Array { diff --git a/fpdfsdk/javascript/cjs_event_context.h b/fpdfsdk/javascript/cjs_event_context.h index a27bbd73af..e6ab94e4be 100644 --- a/fpdfsdk/javascript/cjs_event_context.h +++ b/fpdfsdk/javascript/cjs_event_context.h @@ -9,9 +9,9 @@ #include -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_string.h" #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/javascript/ijs_event_context.h" class CJS_EventHandler; @@ -128,7 +128,7 @@ class CJS_EventContext : public IJS_EventContext { CPDFSDK_FormFillEnvironment* GetFormFillEnv(); private: - CFX_UnownedPtr const m_pRuntime; + UnownedPtr const m_pRuntime; std::unique_ptr m_pEventHandler; bool m_bBusy; }; diff --git a/fpdfsdk/pwl/cpwl_appstream.h b/fpdfsdk/pwl/cpwl_appstream.h index d73e3aa0a7..810e79c9e7 100644 --- a/fpdfsdk/pwl/cpwl_appstream.h +++ b/fpdfsdk/pwl/cpwl_appstream.h @@ -7,8 +7,8 @@ #ifndef FPDFSDK_PWL_CPWL_APPSTREAM_H_ #define FPDFSDK_PWL_CPWL_APPSTREAM_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_string.h" +#include "core/fxcrt/unowned_ptr.h" class CPDFSDK_Widget; class CPDF_Dictionary; @@ -36,8 +36,8 @@ class CPWL_AppStream { ByteString GetBackgroundAppStream() const; ByteString GetBorderAppStream() const; - CFX_UnownedPtr widget_; - CFX_UnownedPtr dict_; + UnownedPtr widget_; + UnownedPtr dict_; }; #endif // FPDFSDK_PWL_CPWL_APPSTREAM_H_ diff --git a/fpdfsdk/pwl/cpwl_combo_box.h b/fpdfsdk/pwl/cpwl_combo_box.h index c9fa2cda4b..d8e384e501 100644 --- a/fpdfsdk/pwl/cpwl_combo_box.h +++ b/fpdfsdk/pwl/cpwl_combo_box.h @@ -9,7 +9,7 @@ #include -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/pwl/cpwl_edit.h" #include "fpdfsdk/pwl/cpwl_list_box.h" #include "fpdfsdk/pwl/cpwl_wnd.h" @@ -89,15 +89,15 @@ class CPWL_ComboBox : public CPWL_Wnd { void CreateListBox(const CreateParams& cp); void SetPopup(bool bPopup); - CFX_UnownedPtr m_pEdit; - CFX_UnownedPtr m_pButton; - CFX_UnownedPtr m_pList; + UnownedPtr m_pEdit; + UnownedPtr m_pButton; + UnownedPtr m_pList; CFX_FloatRect m_rcOldWindow; bool m_bPopup = false; bool m_bBottom = true; int32_t m_nSelectItem = -1; - CFX_UnownedPtr m_pFillerNotify; - CFX_UnownedPtr m_pFormFiller; + UnownedPtr m_pFillerNotify; + UnownedPtr m_pFormFiller; }; #endif // FPDFSDK_PWL_CPWL_COMBO_BOX_H_ diff --git a/fpdfsdk/pwl/cpwl_edit.h b/fpdfsdk/pwl/cpwl_edit.h index d61b94730e..d093f44d84 100644 --- a/fpdfsdk/pwl/cpwl_edit.h +++ b/fpdfsdk/pwl/cpwl_edit.h @@ -10,7 +10,7 @@ #include #include "core/fpdfdoc/cpvt_wordrange.h" -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/pwl/cpwl_edit_ctrl.h" #define PWL_CLASSNAME_EDIT "CPWL_Edit" @@ -129,8 +129,8 @@ class CPWL_Edit : public CPWL_EditCtrl { bool m_bFocus; CFX_FloatRect m_rcOldWindow; - CFX_UnownedPtr m_pFillerNotify; - CFX_UnownedPtr m_pFormFiller; + UnownedPtr m_pFillerNotify; + UnownedPtr m_pFormFiller; }; #endif // FPDFSDK_PWL_CPWL_EDIT_H_ diff --git a/fpdfsdk/pwl/cpwl_edit_impl.h b/fpdfsdk/pwl/cpwl_edit_impl.h index a63b22cd10..76f756eb1c 100644 --- a/fpdfsdk/pwl/cpwl_edit_impl.h +++ b/fpdfsdk/pwl/cpwl_edit_impl.h @@ -13,7 +13,7 @@ #include "core/fpdfdoc/cpvt_secprops.h" #include "core/fpdfdoc/cpvt_wordprops.h" -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #define FX_EDIT_ISLATINWORD(u) \ (u == 0x2D || (u <= 0x005A && u >= 0x0041) || \ @@ -144,7 +144,7 @@ class CFXEU_InsertWord : public IFX_Edit_UndoItem { void Undo() override; private: - CFX_UnownedPtr m_pEdit; + UnownedPtr m_pEdit; CPVT_WordPlace m_wpOld; CPVT_WordPlace m_wpNew; @@ -167,7 +167,7 @@ class CFXEU_InsertReturn : public IFX_Edit_UndoItem { void Undo() override; private: - CFX_UnownedPtr m_pEdit; + UnownedPtr m_pEdit; CPVT_WordPlace m_wpOld; CPVT_WordPlace m_wpNew; @@ -191,7 +191,7 @@ class CFXEU_Backspace : public IFX_Edit_UndoItem { void Undo() override; private: - CFX_UnownedPtr m_pEdit; + UnownedPtr m_pEdit; CPVT_WordPlace m_wpOld; CPVT_WordPlace m_wpNew; @@ -218,7 +218,7 @@ class CFXEU_Delete : public IFX_Edit_UndoItem { void Undo() override; private: - CFX_UnownedPtr m_pEdit; + UnownedPtr m_pEdit; CPVT_WordPlace m_wpOld; CPVT_WordPlace m_wpNew; @@ -241,7 +241,7 @@ class CFXEU_Clear : public IFX_Edit_UndoItem { void Undo() override; private: - CFX_UnownedPtr m_pEdit; + UnownedPtr m_pEdit; CPVT_WordRange m_wrSel; WideString m_swText; @@ -261,7 +261,7 @@ class CFXEU_InsertText : public IFX_Edit_UndoItem { void Undo() override; private: - CFX_UnownedPtr m_pEdit; + UnownedPtr m_pEdit; CPVT_WordPlace m_wpOld; CPVT_WordPlace m_wpNew; @@ -430,8 +430,8 @@ class CPWL_EditImpl { private: std::unique_ptr m_pVT; - CFX_UnownedPtr m_pNotify; - CFX_UnownedPtr m_pOperationNotify; + UnownedPtr m_pNotify; + UnownedPtr m_pOperationNotify; std::unique_ptr m_pVTProvider; CPVT_WordPlace m_wpCaret; CPVT_WordPlace m_wpOldCaret; @@ -466,7 +466,7 @@ class CPWL_EditImpl_Iterator { const CPVT_WordPlace& GetAt() const; private: - CFX_UnownedPtr m_pEdit; + UnownedPtr m_pEdit; CPDF_VariableText::Iterator* m_pVTIterator; }; diff --git a/fpdfsdk/pwl/cpwl_font_map.h b/fpdfsdk/pwl/cpwl_font_map.h index 5336949399..0712bf1240 100644 --- a/fpdfsdk/pwl/cpwl_font_map.h +++ b/fpdfsdk/pwl/cpwl_font_map.h @@ -88,7 +88,7 @@ class CPWL_FontMap : public IPVT_FontMap { uint8_t nCharset); std::unique_ptr m_pPDFDoc; - CFX_UnownedPtr const m_pSystemHandler; + UnownedPtr const m_pSystemHandler; }; #endif // FPDFSDK_PWL_CPWL_FONT_MAP_H_ diff --git a/fpdfsdk/pwl/cpwl_icon.h b/fpdfsdk/pwl/cpwl_icon.h index e2f792b9d5..df88465a5a 100644 --- a/fpdfsdk/pwl/cpwl_icon.h +++ b/fpdfsdk/pwl/cpwl_icon.h @@ -9,8 +9,8 @@ #include -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_string.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/pwl/cpwl_wnd.h" class CPWL_Icon : public CPWL_Wnd { @@ -37,8 +37,8 @@ class CPWL_Icon : public CPWL_Wnd { // width, height std::pair GetImageSize(); - CFX_UnownedPtr m_pPDFStream; - CFX_UnownedPtr m_pIconFit; + UnownedPtr m_pPDFStream; + UnownedPtr m_pIconFit; }; #endif // FPDFSDK_PWL_CPWL_ICON_H_ diff --git a/fpdfsdk/pwl/cpwl_list_box.h b/fpdfsdk/pwl/cpwl_list_box.h index 1e028f7299..fec4d63a0c 100644 --- a/fpdfsdk/pwl/cpwl_list_box.h +++ b/fpdfsdk/pwl/cpwl_list_box.h @@ -9,7 +9,7 @@ #include -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/pwl/cpwl_wnd.h" class CPWL_ListCtrl; @@ -35,7 +35,7 @@ class CPWL_List_Notify { void IOnInvalidateRect(CFX_FloatRect* pRect); private: - CFX_UnownedPtr m_pList; + UnownedPtr m_pList; }; class CPWL_ListBox : public CPWL_Wnd { @@ -101,10 +101,10 @@ class CPWL_ListBox : public CPWL_Wnd { std::unique_ptr m_pListNotify; bool m_bMouseDown; bool m_bHoverSel; - CFX_UnownedPtr m_pFillerNotify; + UnownedPtr m_pFillerNotify; private: - CFX_UnownedPtr m_pFormFiller; + UnownedPtr m_pFormFiller; }; #endif // FPDFSDK_PWL_CPWL_LIST_BOX_H_ diff --git a/fpdfsdk/pwl/cpwl_list_impl.h b/fpdfsdk/pwl/cpwl_list_impl.h index 18ca0a3a15..e39a9c8b20 100644 --- a/fpdfsdk/pwl/cpwl_list_impl.h +++ b/fpdfsdk/pwl/cpwl_list_impl.h @@ -11,9 +11,9 @@ #include #include -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_string.h" +#include "core/fxcrt/unowned_ptr.h" class CPWL_EditImpl; class CPWL_EditImpl_Iterator; @@ -152,7 +152,7 @@ class CPWL_ListCtrl { CFX_FloatRect m_rcPlate; CFX_FloatRect m_rcContent; - CFX_UnownedPtr m_pNotify; + UnownedPtr m_pNotify; bool m_bNotifyFlag; CFX_PointF m_ptScrollPos; CPLST_Select m_aSelItems; // for multiple @@ -162,7 +162,7 @@ class CPWL_ListCtrl { int32_t m_nCaretIndex; // for multiple std::vector> m_ListItems; float m_fFontSize; - CFX_UnownedPtr m_pFontMap; + UnownedPtr m_pFontMap; bool m_bMultiple; }; diff --git a/fpdfsdk/pwl/cpwl_scroll_bar.h b/fpdfsdk/pwl/cpwl_scroll_bar.h index 48aef16e38..1e71e3b90f 100644 --- a/fpdfsdk/pwl/cpwl_scroll_bar.h +++ b/fpdfsdk/pwl/cpwl_scroll_bar.h @@ -7,7 +7,7 @@ #ifndef FPDFSDK_PWL_CPWL_SCROLL_BAR_H_ #define FPDFSDK_PWL_CPWL_SCROLL_BAR_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" #include "fpdfsdk/pwl/cpwl_wnd.h" class CPWL_SBButton; @@ -170,9 +170,9 @@ class CPWL_ScrollBar : public CPWL_Wnd { PWL_SCROLLBAR_TYPE m_sbType; PWL_SCROLL_INFO m_OriginInfo; - CFX_UnownedPtr m_pMinButton; - CFX_UnownedPtr m_pMaxButton; - CFX_UnownedPtr m_pPosButton; + UnownedPtr m_pMinButton; + UnownedPtr m_pMaxButton; + UnownedPtr m_pPosButton; PWL_SCROLL_PRIVATEDATA m_sData; bool m_bMouseDown; bool m_bMinOrMax; diff --git a/fpdfsdk/pwl/cpwl_timer.h b/fpdfsdk/pwl/cpwl_timer.h index 4a07425993..6e082abd4b 100644 --- a/fpdfsdk/pwl/cpwl_timer.h +++ b/fpdfsdk/pwl/cpwl_timer.h @@ -7,7 +7,7 @@ #ifndef FPDFSDK_PWL_CPWL_TIMER_H_ #define FPDFSDK_PWL_CPWL_TIMER_H_ -#include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/unowned_ptr.h" class CFX_SystemHandler; class CPWL_TimerHandler; @@ -24,8 +24,8 @@ class CPWL_Timer { private: int32_t m_nTimerID; - CFX_UnownedPtr m_pAttached; - CFX_UnownedPtr m_pSystemHandler; + UnownedPtr m_pAttached; + UnownedPtr m_pSystemHandler; }; #endif // FPDFSDK_PWL_CPWL_TIMER_H_ diff --git a/fpdfsdk/pwl/cpwl_wnd.cpp b/fpdfsdk/pwl/cpwl_wnd.cpp index 9abe03c3fb..d7eb853c8f 100644 --- a/fpdfsdk/pwl/cpwl_wnd.cpp +++ b/fpdfsdk/pwl/cpwl_wnd.cpp @@ -131,9 +131,9 @@ class CPWL_MsgControl : public Observable { private: std::vector m_aMousePath; std::vector m_aKeyboardPath; - CFX_UnownedPtr m_pCreatedWnd; - CFX_UnownedPtr m_pMainMouseWnd; - CFX_UnownedPtr m_pMainKeyboardWnd; + UnownedPtr m_pCreatedWnd; + UnownedPtr m_pMainMouseWnd; + UnownedPtr m_pMainKeyboardWnd; }; CPWL_Wnd::CPWL_Wnd() diff --git a/fpdfsdk/pwl/cpwl_wnd.h b/fpdfsdk/pwl/cpwl_wnd.h index ecef1e2e10..11b62b337c 100644 --- a/fpdfsdk/pwl/cpwl_wnd.h +++ b/fpdfsdk/pwl/cpwl_wnd.h @@ -11,8 +11,8 @@ #include #include "core/fpdfdoc/cpdf_formcontrol.h" -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/observable.h" +#include "core/fxcrt/unowned_ptr.h" #include "core/fxge/cfx_color.h" #include "fpdfsdk/cpdfsdk_formfillenvironment.h" #include "fpdfsdk/cpdfsdk_widget.h" @@ -131,7 +131,7 @@ class CPWL_Wnd : public CPWL_TimerHandler, public Observable { CFX_SystemHandler* pSystemHandler; // required IPVT_FontMap* pFontMap; // required ProviderIface::ObservedPtr pProvider; // required - CFX_UnownedPtr pFocusHandler; // optional + UnownedPtr pFocusHandler; // optional uint32_t dwFlags; // optional CFX_Color sBackgroundColor; // optional CPDFSDK_Widget::ObservedPtr pAttachedWidget; // required @@ -142,7 +142,7 @@ class CPWL_Wnd : public CPWL_TimerHandler, public Observable { int32_t nTransparency; // optional float fFontSize; // optional CPWL_Dash sDash; // optional - CFX_UnownedPtr pAttachedData; // optional + UnownedPtr pAttachedData; // optional CPWL_Wnd* pParentWnd; // ignore CPWL_MsgControl* pMsgControl; // ignore int32_t eCursorType; // ignore @@ -311,7 +311,7 @@ class CPWL_Wnd : public CPWL_TimerHandler, public Observable { CreateParams m_CreationParams; std::vector m_Children; - CFX_UnownedPtr m_pVScrollBar; + UnownedPtr m_pVScrollBar; CFX_FloatRect m_rcWindow; CFX_FloatRect m_rcClip; bool m_bCreated; -- cgit v1.2.3