summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_dest.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-04-25 17:45:01 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-25 17:45:01 +0000
commitf8ffc048195bd96ee58a1aeefcae2ac3f8950ed8 (patch)
treeebebd69b4d9f73d7b9b077fbfa7a881fbae06440 /core/fpdfdoc/cpdf_dest.cpp
parent7b01255ef62f8df5cdd3053fd42c5c501274186d (diff)
downloadpdfium-f8ffc048195bd96ee58a1aeefcae2ac3f8950ed8.tar.xz
Fix slight type inconsistencies discovered with strict FPDF API types.
Moved to an independent CL from https://pdfium-review.googlesource.com/c/pdfium/+/31296 Change-Id: Ia76e5609dc09bb7b483e092b10d9f8522e2dc175 Reviewed-on: https://pdfium-review.googlesource.com/31297 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_dest.cpp')
-rw-r--r--core/fpdfdoc/cpdf_dest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpdf_dest.cpp b/core/fpdfdoc/cpdf_dest.cpp
index 015cdcbc09..e787dcdd22 100644
--- a/core/fpdfdoc/cpdf_dest.cpp
+++ b/core/fpdfdoc/cpdf_dest.cpp
@@ -32,9 +32,9 @@ static_assert(FX_ArraySize(g_sZoomModes) ==
CPDF_Dest::CPDF_Dest() {}
-CPDF_Dest::CPDF_Dest(const CPDF_Dest& pObj) = default;
+CPDF_Dest::CPDF_Dest(const CPDF_Dest& that) = default;
-CPDF_Dest::CPDF_Dest(CPDF_Object* pObj) : m_pObj(pObj) {}
+CPDF_Dest::CPDF_Dest(CPDF_Array* pObj) : m_pObj(pObj) {}
CPDF_Dest::~CPDF_Dest() {}