summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/render_int.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-11-17 10:47:43 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-17 10:47:43 -0800
commit935c6310adacf2f4a4265e831e6cb60dc7a35803 (patch)
tree77f069eb3f7e9f45ffdf58dd11a9b12196515a93 /core/fpdfapi/render/render_int.h
parentb977720aa7f159ae2c1e9d9b3af1adecff730545 (diff)
downloadpdfium-935c6310adacf2f4a4265e831e6cb60dc7a35803.tar.xz
Move CPDF_DocRenderData from render_int
First CL in an attempt to reduce the class cluttering in fpdf_render_text, fpdf_render_image, and fpdf_render. Review-Url: https://codereview.chromium.org/2507023006
Diffstat (limited to 'core/fpdfapi/render/render_int.h')
-rw-r--r--core/fpdfapi/render/render_int.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/core/fpdfapi/render/render_int.h b/core/fpdfapi/render/render_int.h
index e6090e8ebe..a8c8a580de 100644
--- a/core/fpdfapi/render/render_int.h
+++ b/core/fpdfapi/render/render_int.h
@@ -63,27 +63,6 @@ class CPDF_TransferFunc {
uint8_t m_Samples[256 * 3];
};
-class CPDF_DocRenderData {
- public:
- explicit CPDF_DocRenderData(CPDF_Document* pPDFDoc);
- ~CPDF_DocRenderData();
- CPDF_Type3Cache* GetCachedType3(CPDF_Type3Font* pFont);
- CPDF_TransferFunc* GetTransferFunc(CPDF_Object* pObj);
- void Clear(bool bRelease = false);
- void ReleaseCachedType3(CPDF_Type3Font* pFont);
- void ReleaseTransferFunc(CPDF_Object* pObj);
-
- private:
- using CPDF_Type3CacheMap =
- std::map<CPDF_Font*, CPDF_CountedObject<CPDF_Type3Cache>*>;
- using CPDF_TransferFuncMap =
- std::map<CPDF_Object*, CPDF_CountedObject<CPDF_TransferFunc>*>;
-
- CPDF_Document* m_pPDFDoc;
- CPDF_Type3CacheMap m_Type3FaceMap;
- CPDF_TransferFuncMap m_TransferFuncMap;
-};
-
class CPDF_RenderStatus {
public:
CPDF_RenderStatus();