diff options
Diffstat (limited to 'core/fxge')
-rw-r--r-- | core/fxge/cfx_graphstate.h | 4 | ||||
-rw-r--r-- | core/fxge/fx_dib.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/fxge/cfx_graphstate.h b/core/fxge/cfx_graphstate.h index 19cd03c8e1..a838dfc17c 100644 --- a/core/fxge/cfx_graphstate.h +++ b/core/fxge/cfx_graphstate.h @@ -7,7 +7,7 @@ #ifndef CORE_FXGE_CFX_GRAPHSTATE_H_ #define CORE_FXGE_CFX_GRAPHSTATE_H_ -#include "core/fxcrt/cfx_count_ref.h" +#include "core/fxcrt/cfx_shared_copy_on_write.h" #include "core/fxge/cfx_graphstatedata.h" class CPDF_Array; @@ -38,7 +38,7 @@ class CFX_GraphState { const CFX_GraphStateData* GetObject() const { return m_Ref.GetObject(); } private: - CFX_CountRef<CFX_GraphStateData> m_Ref; + CFX_SharedCopyOnWrite<CFX_GraphStateData> m_Ref; }; #endif // CORE_FXGE_CFX_GRAPHSTATE_H_ diff --git a/core/fxge/fx_dib.h b/core/fxge/fx_dib.h index 038d103989..6ffad8c8c9 100644 --- a/core/fxge/fx_dib.h +++ b/core/fxge/fx_dib.h @@ -10,7 +10,7 @@ #include <memory> #include <vector> -#include "core/fxcrt/cfx_count_ref.h" +#include "core/fxcrt/cfx_shared_copy_on_write.h" #include "core/fxcrt/fx_basic.h" #include "core/fxcrt/fx_coordinates.h" @@ -389,7 +389,7 @@ class CFX_DIBExtractor { std::unique_ptr<CFX_DIBitmap> m_pBitmap; }; -typedef CFX_CountRef<CFX_DIBitmap> CFX_DIBitmapRef; +typedef CFX_SharedCopyOnWrite<CFX_DIBitmap> CFX_DIBitmapRef; class CFX_FilteredDIB : public CFX_DIBSource { public: |