diff options
author | tsepez <tsepez@chromium.org> | 2016-10-17 11:20:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-17 11:20:01 -0700 |
commit | 2239cee23e914b974b458699d52733d7dd3116a6 (patch) | |
tree | c9c2baa2331b4ee4fc081dc09da27017ab718b2f /core/fpdfapi/page/cpdf_clippath.h | |
parent | d5bd8a16565bbee05bfb8a8409f3ba90c461da0e (diff) | |
download | pdfium-2239cee23e914b974b458699d52733d7dd3116a6.tar.xz |
Rename CFX_CountRef to CFX_SharedCopyOnWrite
Avoid confusing this class with other ref-counted objects.
Review-Url: https://codereview.chromium.org/2426673002
Diffstat (limited to 'core/fpdfapi/page/cpdf_clippath.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_clippath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/page/cpdf_clippath.h b/core/fpdfapi/page/cpdf_clippath.h index 25fc3860da..dd44cb250e 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_ |