summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_path.h')
-rw-r--r--core/fpdfapi/page/cpdf_path.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/page/cpdf_path.h b/core/fpdfapi/page/cpdf_path.h
index 6322f08ba2..d69672a4de 100644
--- a/core/fpdfapi/page/cpdf_path.h
+++ b/core/fpdfapi/page/cpdf_path.h
@@ -7,7 +7,7 @@
#ifndef CORE_FPDFAPI_PAGE_CPDF_PATH_H_
#define CORE_FPDFAPI_PAGE_CPDF_PATH_H_
-#include "core/fxcrt/cfx_count_ref.h"
+#include "core/fxcrt/cfx_shared_copy_on_write.h"
#include "core/fxcrt/fx_system.h"
#include "core/fxge/cfx_fxgedevice.h"
#include "core/fxge/cfx_pathdata.h"
@@ -44,7 +44,7 @@ class CPDF_Path {
const CFX_PathData* GetObject() const { return m_Ref.GetObject(); }
private:
- CFX_CountRef<CFX_PathData> m_Ref;
+ CFX_SharedCopyOnWrite<CFX_PathData> m_Ref;
};
#endif // CORE_FPDFAPI_PAGE_CPDF_PATH_H_