Index: core/fpdfdoc/cpdf_annotlist.cpp |
diff --git a/core/fpdfdoc/cpdf_annotlist.cpp b/core/fpdfdoc/cpdf_annotlist.cpp |
index e68e08a1f6c10f03a30dbbcc1d0c7477916fc4f2..1ad6ab23a61e2b7ba903c067b54229f0113d6da9 100644 |
--- a/core/fpdfdoc/cpdf_annotlist.cpp |
+++ b/core/fpdfdoc/cpdf_annotlist.cpp |
@@ -106,7 +106,7 @@ void CPDF_AnnotList::DisplayPass(CPDF_Page* pPage, |
CFX_RenderDevice* pDevice, |
CPDF_RenderContext* pContext, |
bool bPrinting, |
- CFX_Matrix* pMatrix, |
+ const CFX_Matrix* pMatrix, |
bool bWidgetPass, |
CPDF_RenderOptions* pOptions, |
FX_RECT* clip_rect) { |
@@ -156,7 +156,7 @@ void CPDF_AnnotList::DisplayAnnots(CPDF_Page* pPage, |
CFX_RenderDevice* pDevice, |
CPDF_RenderContext* pContext, |
bool bPrinting, |
- CFX_Matrix* pUser2Device, |
+ const CFX_Matrix* pUser2Device, |
uint32_t dwAnnotFlags, |
CPDF_RenderOptions* pOptions, |
FX_RECT* pClipRect) { |
@@ -173,7 +173,7 @@ void CPDF_AnnotList::DisplayAnnots(CPDF_Page* pPage, |
void CPDF_AnnotList::DisplayAnnots(CPDF_Page* pPage, |
CPDF_RenderContext* pContext, |
bool bPrinting, |
- CFX_Matrix* pMatrix, |
+ const CFX_Matrix* pMatrix, |
bool bShowWidget, |
CPDF_RenderOptions* pOptions) { |
uint32_t dwAnnotFlags = bShowWidget ? ANNOTFLAG_INVISIBLE | ANNOTFLAG_HIDDEN |