diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-09-21 16:53:58 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-21 21:25:26 +0000 |
commit | aee0db0e6a12bdaacebeb8fb791f4e0d45e18a0d (patch) | |
tree | 1e14d60adcffeb0791a0a6c8792d3e9c0109384e /core/fpdftext/cpdf_textpage.h | |
parent | 8e9e3d8975eeea3429c3b3ea703f04ac34e20e28 (diff) | |
download | pdfium-aee0db0e6a12bdaacebeb8fb791f4e0d45e18a0d.tar.xz |
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 <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdftext/cpdf_textpage.h')
-rw-r--r-- | core/fpdftext/cpdf_textpage.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/fpdftext/cpdf_textpage.h b/core/fpdftext/cpdf_textpage.h index ef55ad05cb..155f991a91 100644 --- a/core/fpdftext/cpdf_textpage.h +++ b/core/fpdftext/cpdf_textpage.h @@ -11,10 +11,10 @@ #include <vector> #include "core/fpdfapi/page/cpdf_pageobjectlist.h" -#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/cfx_widetextbuf.h" #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_string.h" +#include "core/fxcrt/unowned_ptr.h" class CPDF_Font; class CPDF_FormObject; @@ -58,7 +58,7 @@ class FPDF_CHAR_INFO { float m_FontSize; CFX_PointF m_Origin; CFX_FloatRect m_CharBox; - CFX_UnownedPtr<CPDF_TextObject> m_pTextObj; + UnownedPtr<CPDF_TextObject> m_pTextObj; CFX_Matrix m_Matrix; }; @@ -79,7 +79,7 @@ class PAGECHAR_INFO { int32_t m_Flag; CFX_PointF m_Origin; CFX_FloatRect m_CharBox; - CFX_UnownedPtr<CPDF_TextObject> m_pTextObj; + UnownedPtr<CPDF_TextObject> m_pTextObj; CFX_Matrix m_Matrix; }; @@ -88,7 +88,7 @@ struct PDFTEXT_Obj { PDFTEXT_Obj(const PDFTEXT_Obj& that); ~PDFTEXT_Obj(); - CFX_UnownedPtr<CPDF_TextObject> m_pTextObj; + UnownedPtr<CPDF_TextObject> m_pTextObj; CFX_Matrix m_formMatrix; }; @@ -167,14 +167,14 @@ class CPDF_TextPage { const CPDF_Font* pFont, int nItems) const; - CFX_UnownedPtr<const CPDF_Page> const m_pPage; + UnownedPtr<const CPDF_Page> const m_pPage; std::vector<uint16_t> m_CharIndex; std::deque<PAGECHAR_INFO> m_CharList; std::deque<PAGECHAR_INFO> m_TempCharList; CFX_WideTextBuf m_TextBuf; CFX_WideTextBuf m_TempTextBuf; const FPDFText_Direction m_parserflag; - CFX_UnownedPtr<CPDF_TextObject> m_pPreTextObj; + UnownedPtr<CPDF_TextObject> m_pPreTextObj; CFX_Matrix m_perMatrix; bool m_bIsParsed; CFX_Matrix m_DisplayMatrix; |