summaryrefslogtreecommitdiff
path: root/core/fxcodec/codec/codec_int.h
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-06-07 11:28:31 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-07 11:28:31 -0700
commit98963398054a20287cf6b354932ef56ddb4da48c (patch)
treeb9a009dc12f7535e7fc798ee7e416e651272d863 /core/fxcodec/codec/codec_int.h
parent4997b22f84307521a62838f874928bf56cd3423c (diff)
downloadpdfium-98963398054a20287cf6b354932ef56ddb4da48c.tar.xz
Fix more code which has shadow variables
The code has local variables that shadow struct or class member variables. Also, when this happens, different variable names should be used instead of namespaces. These were discovered by /Wshadow warning flag in Clang. Review-Url: https://codereview.chromium.org/2034253003
Diffstat (limited to 'core/fxcodec/codec/codec_int.h')
-rw-r--r--core/fxcodec/codec/codec_int.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxcodec/codec/codec_int.h b/core/fxcodec/codec/codec_int.h
index e0d2ff494f..566bbc3c9b 100644
--- a/core/fxcodec/codec/codec_int.h
+++ b/core/fxcodec/codec/codec_int.h
@@ -22,9 +22,9 @@ class CPDF_ColorSpace;
struct DecodeData {
public:
- DecodeData(unsigned char* src_data, OPJ_SIZE_T src_size)
- : src_data(src_data), src_size(src_size), offset(0) {}
- unsigned char* src_data;
+ DecodeData(uint8_t* data, OPJ_SIZE_T size)
+ : src_data(data), src_size(size), offset(0) {}
+ uint8_t* src_data;
OPJ_SIZE_T src_size;
OPJ_SIZE_T offset;
};