diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-09-21 15:49:49 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-21 20:17:31 +0000 |
commit | 0b95042db2e6dab5876abd12ce485fff0a8e08fe (patch) | |
tree | 02132ed53945fde30bfbf230ff4e9b5308dd7732 /fpdfsdk/fpdfxfa/cpdfxfa_context.h | |
parent | a5eb9f05b7c3f82630784e043ccf75c4e019b18f (diff) | |
download | pdfium-0b95042db2e6dab5876abd12ce485fff0a8e08fe.tar.xz |
Rename CFX_RetainPtr to RetainPtr
This CL renames CFX_RetainPtr to RetainPtr and places in the fxcrt
namespace.
Bug: pdfium:898
Change-Id: I8798a9f79cb0840d3f037e8d04937cedd742914e
Reviewed-on: https://pdfium-review.googlesource.com/14616
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfxfa/cpdfxfa_context.h')
-rw-r--r-- | fpdfsdk/fpdfxfa/cpdfxfa_context.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_context.h b/fpdfsdk/fpdfxfa/cpdfxfa_context.h index 0dbc51e54b..df42cbb9fd 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_context.h +++ b/fpdfsdk/fpdfxfa/cpdfxfa_context.h @@ -51,8 +51,8 @@ class CPDFXFA_Context : public IXFA_AppProvider { int GetPageCount() const; void DeletePage(int page_index); - CFX_RetainPtr<CPDFXFA_Page> GetXFAPage(int page_index); - CFX_RetainPtr<CPDFXFA_Page> GetXFAPage(CXFA_FFPageView* pPage) const; + RetainPtr<CPDFXFA_Page> GetXFAPage(int page_index); + RetainPtr<CPDFXFA_Page> GetXFAPage(CXFA_FFPageView* pPage) const; void ClearChangeMark(); // IFXA_AppProvider: @@ -70,7 +70,7 @@ class CPDFXFA_Context : public IXFA_AppProvider { const WideString& wsTitle, const WideString& wsDefaultAnswer, bool bMark) override; - CFX_RetainPtr<IFX_SeekableReadStream> DownloadURL( + RetainPtr<IFX_SeekableReadStream> DownloadURL( const WideString& wsURL) override; bool PostRequestURL(const WideString& wsURL, const WideString& wsData, @@ -94,7 +94,7 @@ class CPDFXFA_Context : public IXFA_AppProvider { } LoadStatus GetLoadStatus() const { return m_nLoadStatus; } - std::vector<CFX_RetainPtr<CPDFXFA_Page>>* GetXFAPageList() { + std::vector<RetainPtr<CPDFXFA_Page>>* GetXFAPageList() { return &m_XFAPageList; } @@ -108,7 +108,7 @@ class CPDFXFA_Context : public IXFA_AppProvider { CFX_UnownedPtr<CXFA_FFDocView> m_pXFADocView; std::unique_ptr<CXFA_FFApp> m_pXFAApp; std::unique_ptr<CJS_Runtime> m_pRuntime; - std::vector<CFX_RetainPtr<CPDFXFA_Page>> m_XFAPageList; + std::vector<RetainPtr<CPDFXFA_Page>> m_XFAPageList; LoadStatus m_nLoadStatus; int m_nPageCount; |