Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2486)

Unified Diff: core/fxcodec/codec/codec_int.h

Issue 2034253003: Fix more code which has shadow variables (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/fxcodec/jbig2/JBig2_GrdProc.h » ('j') | core/fxcodec/jbig2/JBig2_GrdProc.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcodec/codec/codec_int.h
diff --git a/core/fxcodec/codec/codec_int.h b/core/fxcodec/codec/codec_int.h
index e0d2ff494fef20e056a2f4786df18e89c18709d1..2607a66efdecf69913ac8d74c73004df414c086f 100644
--- a/core/fxcodec/codec/codec_int.h
+++ b/core/fxcodec/codec/codec_int.h
@@ -22,8 +22,8 @@ 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) {}
+ DecodeData(unsigned char* data, OPJ_SIZE_T size)
+ : src_data(data), src_size(size), offset(0) {}
unsigned char* src_data;
Tom Sepez 2016/06/06 16:43:33 nit: these should probably be uint8_t* rather than
Wei Li 2016/06/07 17:33:52 Done.
OPJ_SIZE_T src_size;
OPJ_SIZE_T offset;
« no previous file with comments | « no previous file | core/fxcodec/jbig2/JBig2_GrdProc.h » ('j') | core/fxcodec/jbig2/JBig2_GrdProc.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698