From 203339a2aa88bb31576233220d7ced73920a596f Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Thu, 23 Aug 2018 20:58:14 +0000 Subject: 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 Reviewed-by: Tom Sepez Reviewed-by: Henrique Nakashima --- core/fxcodec/bmp/cfx_bmpdecompressor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fxcodec') 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& 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) { -- cgit v1.2.3