From 09ee087b894679ff7bc6bc17c7e8a8410e00f8b5 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 9 Oct 2018 19:13:55 +0000 Subject: Pass CFX_Matrix by const-ref in various OnDraw() methods. Change-Id: I6e953206520c024b2fc23b9b60c5c43112d04896 Reviewed-on: https://pdfium-review.googlesource.com/c/43603 Reviewed-by: Henrique Nakashima Commit-Queue: Lei Zhang --- fpdfsdk/cpdfsdk_annothandlermgr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/cpdfsdk_annothandlermgr.h') diff --git a/fpdfsdk/cpdfsdk_annothandlermgr.h b/fpdfsdk/cpdfsdk_annothandlermgr.h index 799a1bee81..55b13f3a9b 100644 --- a/fpdfsdk/cpdfsdk_annothandlermgr.h +++ b/fpdfsdk/cpdfsdk_annothandlermgr.h @@ -53,7 +53,7 @@ class CPDFSDK_AnnotHandlerMgr { void Annot_OnDraw(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot, CFX_RenderDevice* pDevice, - CFX_Matrix* pUser2Device, + const CFX_Matrix& mtUser2Device, bool bDrawAnnots); void Annot_OnMouseEnter(CPDFSDK_PageView* pPageView, -- cgit v1.2.3