From 8a4494034eb77bbc3453108616cc5dd67d3adbef Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 17 Aug 2017 15:07:47 -0700 Subject: Change DrawAppearance() methods to take CFX_Matrix by const-ref. Change-Id: If038850c745ac26e50c313bdbe630483434caedc Reviewed-on: https://pdfium-review.googlesource.com/11390 Commit-Queue: dsinclair Reviewed-by: dsinclair --- core/fpdfdoc/cpdf_annotlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fpdfdoc/cpdf_annotlist.cpp') diff --git a/core/fpdfdoc/cpdf_annotlist.cpp b/core/fpdfdoc/cpdf_annotlist.cpp index 9f6f79a02c..34c8d3a869 100644 --- a/core/fpdfdoc/cpdf_annotlist.cpp +++ b/core/fpdfdoc/cpdf_annotlist.cpp @@ -159,7 +159,7 @@ void CPDF_AnnotList::DisplayPass(CPDF_Page* pPage, } if (pContext) { pAnnot->DrawInContext(pPage, pContext, &matrix, CPDF_Annot::Normal); - } else if (!pAnnot->DrawAppearance(pPage, pDevice, &matrix, + } else if (!pAnnot->DrawAppearance(pPage, pDevice, matrix, CPDF_Annot::Normal, pOptions)) { pAnnot->DrawBorder(pDevice, &matrix, pOptions); } -- cgit v1.2.3