From 2239cee23e914b974b458699d52733d7dd3116a6 Mon Sep 17 00:00:00 2001 From: tsepez Date: Mon, 17 Oct 2016 11:20:01 -0700 Subject: Rename CFX_CountRef to CFX_SharedCopyOnWrite Avoid confusing this class with other ref-counted objects. Review-Url: https://codereview.chromium.org/2426673002 --- core/fpdfapi/page/cpdf_colorstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fpdfapi/page/cpdf_colorstate.h') diff --git a/core/fpdfapi/page/cpdf_colorstate.h b/core/fpdfapi/page/cpdf_colorstate.h index 916abed7ee..49c71b66f9 100644 --- a/core/fpdfapi/page/cpdf_colorstate.h +++ b/core/fpdfapi/page/cpdf_colorstate.h @@ -8,7 +8,7 @@ #define CORE_FPDFAPI_PAGE_CPDF_COLORSTATE_H_ #include "core/fpdfapi/page/cpdf_color.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_system.h" @@ -71,7 +71,7 @@ class CPDF_ColorState { FX_FLOAT* pValue, uint32_t nValues); - CFX_CountRef m_Ref; + CFX_SharedCopyOnWrite m_Ref; }; #endif // CORE_FPDFAPI_PAGE_CPDF_COLORSTATE_H_ -- cgit v1.2.3