summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_page/include/cpdf_colorspace.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-09-22 13:42:34 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-22 13:42:34 -0700
commitfe0179ded8202939ea4f2b92a879b8dede7821ea (patch)
tree0d8dc52910041d8da0f2039018403dedf3c7332e /core/fpdfapi/fpdf_page/include/cpdf_colorspace.h
parenta939bfe3e102bfb28b4e8a5d951333d16badf80b (diff)
downloadpdfium-chromium/2869.tar.xz
Rename CPDF_CountedObject to CFX_WeakPtr::Handlechromium/2869
This better describes its purpose, and reduces confusion with the CFX_CountRef class, which is unrelated. The WeakPtr class itself that manipulates handles is NYI. Review-Url: https://codereview.chromium.org/2366673003
Diffstat (limited to 'core/fpdfapi/fpdf_page/include/cpdf_colorspace.h')
-rw-r--r--core/fpdfapi/fpdf_page/include/cpdf_colorspace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fpdfapi/fpdf_page/include/cpdf_colorspace.h b/core/fpdfapi/fpdf_page/include/cpdf_colorspace.h
index fad85a147a..fc0433f52f 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_