From eb14e04c79c575146fe96c025dbf56b7440870c7 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 15 Aug 2017 13:56:43 -0700 Subject: Change a bunch of methods to take a const CFX_Matrix& param. Simplify some code along the way. Change-Id: I0022c8a82188192c63b9ac0bc87e9b9dbf983040 Reviewed-on: https://pdfium-review.googlesource.com/10852 Reviewed-by: dsinclair Reviewed-by: Henrique Nakashima Commit-Queue: Lei Zhang --- fpdfsdk/formfiller/cffl_formfiller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/formfiller') diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp index e0af8955ac..e0d02d0f4c 100644 --- a/fpdfsdk/formfiller/cffl_formfiller.cpp +++ b/fpdfsdk/formfiller/cffl_formfiller.cpp @@ -88,7 +88,7 @@ void CFFL_FormFiller::OnDraw(CPDFSDK_PageView* pPageView, if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false)) { CFX_Matrix mt = GetCurMatrix(); mt.Concat(*pUser2Device); - pWnd->DrawAppearance(pDevice, &mt); + pWnd->DrawAppearance(pDevice, mt); return; } -- cgit v1.2.3