Index: core/fpdfapi/page/cpdf_clippath.h |
diff --git a/core/fpdfapi/page/cpdf_clippath.h b/core/fpdfapi/page/cpdf_clippath.h |
index 25fc3860da6e5ee194f4dcf8cb8d69b33d74124a..dd44cb250e969c8506ca7b78e005e27c86d45c71 100644 |
--- a/core/fpdfapi/page/cpdf_clippath.h |
+++ b/core/fpdfapi/page/cpdf_clippath.h |
@@ -12,7 +12,7 @@ |
#include <vector> |
#include "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_basic.h" |
#include "core/fxcrt/fx_coordinates.h" |
@@ -57,7 +57,7 @@ class CPDF_ClipPath { |
std::vector<std::unique_ptr<CPDF_TextObject>> m_TextList; |
}; |
- CFX_CountRef<PathData> m_Ref; |
+ CFX_SharedCopyOnWrite<PathData> m_Ref; |
}; |
#endif // CORE_FPDFAPI_PAGE_CPDF_CLIPPATH_H_ |