From 035359cd8ddb555fa33b6133db4fd405e4660712 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 9 Dec 2015 16:26:21 -0800 Subject: Get rid of most uses of CFX_PtrArray. I didn't go whole hog and replace these with std::vector, but in the mean time, it is silly to cast a typedef for a template instantiated against void* when we can just instantiate the template against the actual type. The ones that remain are actual heterogeneous arrays with wacky casting. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1518593002 . --- core/include/fpdfapi/fpdf_render.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/include/fpdfapi/fpdf_render.h') diff --git a/core/include/fpdfapi/fpdf_render.h b/core/include/fpdfapi/fpdf_render.h index cdd7e38d65..8d87b588c1 100644 --- a/core/include/fpdfapi/fpdf_render.h +++ b/core/include/fpdfapi/fpdf_render.h @@ -233,7 +233,6 @@ class CPDF_PageRenderCache { m_nCacheSize = 0; m_pCurImageCache = NULL; m_bCurFindCache = FALSE; - m_pCurImageCaches = NULL; } ~CPDF_PageRenderCache() { ClearAll(); } void ClearAll(); @@ -272,7 +271,6 @@ class CPDF_PageRenderCache { FX_BOOL Continue(IFX_Pause* pPause); CPDF_ImageCache* m_pCurImageCache; - CFX_PtrArray* m_pCurImageCaches; protected: friend class CPDF_Page; -- cgit v1.2.3