diff options
author | Lei Zhang <thestig@chromium.org> | 2017-08-15 13:56:43 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-15 21:33:32 +0000 |
commit | eb14e04c79c575146fe96c025dbf56b7440870c7 (patch) | |
tree | 323ca30b3b5b2df46427e336c3482901ca26db8f /fpdfsdk/formfiller | |
parent | 6e524ad89eac22f0e5d5475652ec78c609b788e8 (diff) | |
download | pdfium-eb14e04c79c575146fe96c025dbf56b7440870c7.tar.xz |
Change a bunch of methods to take a const CFX_Matrix& param.chromium/3187
Simplify some code along the way.
Change-Id: I0022c8a82188192c63b9ac0bc87e9b9dbf983040
Reviewed-on: https://pdfium-review.googlesource.com/10852
Reviewed-by: dsinclair <dsinclair@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/formfiller')
-rw-r--r-- | fpdfsdk/formfiller/cffl_formfiller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |