Index: core/fpdfapi/fpdf_page/include/cpdf_colorspace.h |
diff --git a/core/fpdfapi/fpdf_page/include/cpdf_colorspace.h b/core/fpdfapi/fpdf_page/include/cpdf_colorspace.h |
index fad85a147a2f3a760f75cf654394760f7c5910a8..fc0433f52ffb1c6bd0caf48ce551a5a93200075b 100644 |
--- a/core/fpdfapi/fpdf_page/include/cpdf_colorspace.h |
+++ b/core/fpdfapi/fpdf_page/include/cpdf_colorspace.h |
@@ -7,6 +7,7 @@ |
#ifndef CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_ |
#define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_ |
+#include "core/fxcrt/include/cfx_weak_ptr.h" |
#include "core/fxcrt/include/fx_string.h" |
#include "core/fxcrt/include/fx_system.h" |
@@ -101,4 +102,6 @@ class CPDF_ColorSpace { |
uint32_t m_dwStdConversion; |
}; |
+using CPDF_CountedColorSpace = CFX_WeakPtr<CPDF_ColorSpace>::Handle; |
+ |
#endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_ |