diff options
author | Ryan Harrison <rharrison@chromium.org> | 2018-08-23 20:58:14 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-23 20:58:14 +0000 |
commit | 203339a2aa88bb31576233220d7ced73920a596f (patch) | |
tree | 895fc5fcc07107c8cc6f81b9c6e0f12faef9fc1e /core/fxcodec | |
parent | 3b45012d57884b06915eb5a1f54fbba04a45e807 (diff) | |
download | pdfium-203339a2aa88bb31576233220d7ced73920a596f.tar.xz |
Fix shadowed variables
This CL fixes instances of variable shadowing that are
discovered by turning on -Wshadow.
BUG=pdfium:1137
Change-Id: I418d50de89ecbeb12e85b23a358bc61e8f16e888
Reviewed-on: https://pdfium-review.googlesource.com/41150
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fxcodec')
-rw-r--r-- | core/fxcodec/bmp/cfx_bmpdecompressor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcodec/bmp/cfx_bmpdecompressor.cpp b/core/fxcodec/bmp/cfx_bmpdecompressor.cpp index 739853aa13..383955624c 100644 --- a/core/fxcodec/bmp/cfx_bmpdecompressor.cpp +++ b/core/fxcodec/bmp/cfx_bmpdecompressor.cpp @@ -65,9 +65,9 @@ void CFX_BmpDecompressor::Error() { longjmp(jmpbuf_, 1); } -void CFX_BmpDecompressor::ReadScanline(uint32_t row_num_, +void CFX_BmpDecompressor::ReadScanline(uint32_t row_num, const std::vector<uint8_t>& row_buf) { - context_ptr_->m_pDelegate->BmpReadScanline(row_num_, row_buf); + context_ptr_->m_pDelegate->BmpReadScanline(row_num, row_buf); } bool CFX_BmpDecompressor::GetDataPosition(uint32_t rcd_pos) { |