summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_image.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-03-16 20:27:04 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-16 20:27:04 +0000
commitaca3efc9c0d8750b7f642a23eea1a665d7a1af5c (patch)
treeca4370b85a4c5c10c1da6cd8883ecec451174365 /core/fpdfapi/page/cpdf_image.cpp
parent5ddbd382cd434070ab5b99c3600fc2703e05b400 (diff)
downloadpdfium-aca3efc9c0d8750b7f642a23eea1a665d7a1af5c.tar.xz
Fix methods that have definition with different parameter names.
Found by ClangTidy. BUG=pdfium:1039 Change-Id: I2bb9256a63d5459e959c1a3228418073245d7a86 Reviewed-on: https://pdfium-review.googlesource.com/28731 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_image.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_image.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/fpdfapi/page/cpdf_image.cpp b/core/fpdfapi/page/cpdf_image.cpp
index 68432bf1fe..ec826dc5ed 100644
--- a/core/fpdfapi/page/cpdf_image.cpp
+++ b/core/fpdfapi/page/cpdf_image.cpp
@@ -49,13 +49,13 @@ CPDF_Image::CPDF_Image(CPDF_Document* pDoc, uint32_t dwStreamObjNum)
CPDF_Image::~CPDF_Image() {}
-void CPDF_Image::FinishInitialization(CPDF_Dictionary* pDict) {
- m_pOC = pDict->GetDictFor("OC");
- m_bIsMask =
- !pDict->KeyExist("ColorSpace") || pDict->GetIntegerFor("ImageMask");
- m_bInterpolate = !!pDict->GetIntegerFor("Interpolate");
- m_Height = pDict->GetIntegerFor("Height");
- m_Width = pDict->GetIntegerFor("Width");
+void CPDF_Image::FinishInitialization(CPDF_Dictionary* pStreamDict) {
+ m_pOC = pStreamDict->GetDictFor("OC");
+ m_bIsMask = !pStreamDict->KeyExist("ColorSpace") ||
+ pStreamDict->GetIntegerFor("ImageMask");
+ m_bInterpolate = !!pStreamDict->GetIntegerFor("Interpolate");
+ m_Height = pStreamDict->GetIntegerFor("Height");
+ m_Width = pStreamDict->GetIntegerFor("Width");
}
void CPDF_Image::ConvertStreamToIndirectObject() {