summaryrefslogtreecommitdiff
path: root/core/fxcodec/codec/ccodec_bmpmodule.h
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-06-22 14:23:52 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-22 18:56:36 +0000
commitb32a949d667600cb33e80e1bb8c97a23d96f27d9 (patch)
tree756bd8fa5190925421a88e699f39889be7903ec6 /core/fxcodec/codec/ccodec_bmpmodule.h
parent84d8eb9b6fdd2afd43f5970b3544d63aa990d30e (diff)
downloadpdfium-b32a949d667600cb33e80e1bb8c97a23d96f27d9.tar.xz
Continue BMP decoder cleanup
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 <npm@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcodec/codec/ccodec_bmpmodule.h')
-rw-r--r--core/fxcodec/codec/ccodec_bmpmodule.h2
1 files changed, 1 insertions, 1 deletions
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<uint32_t>* palette,
CFX_DIBAttribute* pAttribute);
int32_t LoadImage(Context* pContext);
};