diff options
Diffstat (limited to 'core/fpdfapi')
-rw-r--r-- | core/fpdfapi/edit/cpdf_flateencoder.h | 6 | ||||
-rw-r--r-- | core/fpdfapi/page/cpdf_colorspace.cpp | 4 | ||||
-rw-r--r-- | core/fpdfapi/page/cpdf_image.h | 6 | ||||
-rw-r--r-- | core/fpdfapi/parser/cpdf_object_avail.h | 4 | ||||
-rw-r--r-- | core/fpdfapi/render/cpdf_imagerenderer.cpp | 2 | ||||
-rw-r--r-- | core/fpdfapi/render/cpdf_renderstatus.cpp | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/core/fpdfapi/edit/cpdf_flateencoder.h b/core/fpdfapi/edit/cpdf_flateencoder.h index ee946582ef..3698414fd2 100644 --- a/core/fpdfapi/edit/cpdf_flateencoder.h +++ b/core/fpdfapi/edit/cpdf_flateencoder.h @@ -9,9 +9,9 @@ #include "core/fpdfapi/parser/cpdf_dictionary.h" #include "core/fpdfapi/parser/cpdf_stream_acc.h" -#include "core/fxcrt/cfx_maybe_owned.h" #include "core/fxcrt/cfx_retain_ptr.h" #include "core/fxcrt/fx_memory.h" +#include "core/fxcrt/maybe_owned.h" class CPDF_Stream; @@ -29,8 +29,8 @@ class CPDF_FlateEncoder { private: uint32_t m_dwSize; - CFX_MaybeOwned<uint8_t, FxFreeDeleter> m_pData; - CFX_MaybeOwned<CPDF_Dictionary> m_pDict; + MaybeOwned<uint8_t, FxFreeDeleter> m_pData; + MaybeOwned<CPDF_Dictionary> m_pDict; CFX_RetainPtr<CPDF_StreamAcc> m_pAcc; }; diff --git a/core/fpdfapi/page/cpdf_colorspace.cpp b/core/fpdfapi/page/cpdf_colorspace.cpp index 3e2b885ee5..5455d4dbba 100644 --- a/core/fpdfapi/page/cpdf_colorspace.cpp +++ b/core/fpdfapi/page/cpdf_colorspace.cpp @@ -31,8 +31,8 @@ #include "core/fxcodec/codec/ccodec_iccmodule.h" #include "core/fxcodec/fx_codec.h" #include "core/fxcrt/cfx_fixedbufgrow.h" -#include "core/fxcrt/cfx_maybe_owned.h" #include "core/fxcrt/fx_memory.h" +#include "core/fxcrt/maybe_owned.h" #include "third_party/base/stl_util.h" namespace { @@ -176,7 +176,7 @@ class CPDF_ICCBasedCS : public CPDF_ColorSpace { bool IsValidComponents(int32_t nComps) const; void PopulateRanges(CPDF_Dictionary* pDict); - CFX_MaybeOwned<CPDF_ColorSpace> m_pAlterCS; + MaybeOwned<CPDF_ColorSpace> m_pAlterCS; CFX_RetainPtr<CPDF_IccProfile> m_pProfile; uint8_t* m_pCache; float* m_pRanges; diff --git a/core/fpdfapi/page/cpdf_image.h b/core/fpdfapi/page/cpdf_image.h index ed32d4b36a..ddfd95ccf3 100644 --- a/core/fpdfapi/page/cpdf_image.h +++ b/core/fpdfapi/page/cpdf_image.h @@ -10,10 +10,10 @@ #include <memory> #include "core/fpdfapi/parser/cpdf_stream.h" -#include "core/fxcrt/cfx_maybe_owned.h" #include "core/fxcrt/cfx_retain_ptr.h" #include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/maybe_owned.h" class CFX_DIBSource; class CFX_DIBitmap; @@ -80,8 +80,8 @@ class CPDF_Image : public CFX_Retainable { bool m_bIsMask = false; bool m_bInterpolate = false; CFX_UnownedPtr<CPDF_Document> const m_pDocument; - CFX_MaybeOwned<CPDF_Stream> m_pStream; - CFX_MaybeOwned<CPDF_Dictionary> m_pDict; + MaybeOwned<CPDF_Stream> m_pStream; + MaybeOwned<CPDF_Dictionary> m_pDict; CFX_UnownedPtr<CPDF_Dictionary> m_pOC; }; diff --git a/core/fpdfapi/parser/cpdf_object_avail.h b/core/fpdfapi/parser/cpdf_object_avail.h index 233d180c94..bd46cdba5c 100644 --- a/core/fpdfapi/parser/cpdf_object_avail.h +++ b/core/fpdfapi/parser/cpdf_object_avail.h @@ -10,8 +10,8 @@ #include <stack> #include "core/fpdfapi/parser/cpdf_data_avail.h" -#include "core/fxcrt/cfx_maybe_owned.h" #include "core/fxcrt/cfx_unowned_ptr.h" +#include "core/fxcrt/maybe_owned.h" class CPDF_Object; class CPDF_Reference; @@ -44,7 +44,7 @@ class CPDF_ObjectAvail { CFX_UnownedPtr<CPDF_ReadValidator> validator_; CFX_UnownedPtr<CPDF_IndirectObjectHolder> holder_; - CFX_MaybeOwned<const CPDF_Object> root_; + MaybeOwned<const CPDF_Object> root_; std::set<uint32_t> parsed_objnums_; std::stack<uint32_t> non_parsed_objects_; }; diff --git a/core/fpdfapi/render/cpdf_imagerenderer.cpp b/core/fpdfapi/render/cpdf_imagerenderer.cpp index 75a381c8fc..e9f1752d57 100644 --- a/core/fpdfapi/render/cpdf_imagerenderer.cpp +++ b/core/fpdfapi/render/cpdf_imagerenderer.cpp @@ -25,8 +25,8 @@ #include "core/fpdfapi/render/cpdf_renderstatus.h" #include "core/fpdfapi/render/cpdf_transferfunc.h" #include "core/fpdfdoc/cpdf_occontext.h" -#include "core/fxcrt/cfx_maybe_owned.h" #include "core/fxcrt/fx_safe_types.h" +#include "core/fxcrt/maybe_owned.h" #include "core/fxge/cfx_defaultrenderdevice.h" #include "core/fxge/cfx_pathdata.h" #include "core/fxge/dib/cfx_dibitmap.h" diff --git a/core/fpdfapi/render/cpdf_renderstatus.cpp b/core/fpdfapi/render/cpdf_renderstatus.cpp index 26eed112c5..ef07852e38 100644 --- a/core/fpdfapi/render/cpdf_renderstatus.cpp +++ b/core/fpdfapi/render/cpdf_renderstatus.cpp @@ -47,8 +47,8 @@ #include "core/fpdfdoc/cpdf_occontext.h" #include "core/fxcrt/autorestorer.h" #include "core/fxcrt/cfx_fixedbufgrow.h" -#include "core/fxcrt/cfx_maybe_owned.h" #include "core/fxcrt/fx_safe_types.h" +#include "core/fxcrt/maybe_owned.h" #include "core/fxge/cfx_defaultrenderdevice.h" #include "core/fxge/cfx_graphstatedata.h" #include "core/fxge/cfx_pathdata.h" |