Index: core/fxge/cfx_graphstate.h |
diff --git a/core/fxge/cfx_graphstate.h b/core/fxge/cfx_graphstate.h |
index 19cd03c8e122be1fbc0ed7b17bcc301fbb62601d..a838dfc17ca6a3acef038be558d915d20e439dd1 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_ |