From b32a949d667600cb33e80e1bb8c97a23d96f27d9 Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Thu, 22 Jun 2017 14:23:52 -0400 Subject: Continue BMP decoder cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This CL replaces raw pointers with vector and unique_ptr. It also fixes other nits. Change-Id: I45c99c9aa658681ec3f0b48fc4f407b278b250f5 Reviewed-on: https://pdfium-review.googlesource.com/6830 Commit-Queue: Nicolás Peña Reviewed-by: Lei Zhang --- core/fxcodec/codec/ccodec_bmpmodule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fxcodec/codec/ccodec_bmpmodule.h') diff --git a/core/fxcodec/codec/ccodec_bmpmodule.h b/core/fxcodec/codec/ccodec_bmpmodule.h index 4009150c59..e9ad7c3001 100644 --- a/core/fxcodec/codec/ccodec_bmpmodule.h +++ b/core/fxcodec/codec/ccodec_bmpmodule.h @@ -41,7 +41,7 @@ class CCodec_BmpModule { bool* tb_flag, int32_t* components, int32_t* pal_num, - uint32_t** pal_pp, + std::vector* palette, CFX_DIBAttribute* pAttribute); int32_t LoadImage(Context* pContext); }; -- cgit v1.2.3