diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-05-16 18:32:43 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-16 18:32:43 +0000 |
commit | debd2d23306313712a60a7c380ece864f7a3a9ab (patch) | |
tree | e2d67fbe173879bd59d1565461909cd774771caa /core/fpdfapi/edit | |
parent | c8f4e72cc26bd749bba8ad0d44d2c2bf838714b0 (diff) | |
download | pdfium-debd2d23306313712a60a7c380ece864f7a3a9ab.tar.xz |
Use pdfium::span<> in cpdf_crypto_handler.h
Remove some unused args along the way.
Change-Id: I234a674d4d6cc79b33087bc850f5df36bae25870
Reviewed-on: https://pdfium-review.googlesource.com/32596
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/edit')
-rw-r--r-- | core/fpdfapi/edit/cpdf_encryptor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/edit/cpdf_encryptor.cpp b/core/fpdfapi/edit/cpdf_encryptor.cpp index 61976186d2..8994b555ee 100644 --- a/core/fpdfapi/edit/cpdf_encryptor.cpp +++ b/core/fpdfapi/edit/cpdf_encryptor.cpp @@ -18,7 +18,7 @@ CPDF_Encryptor::CPDF_Encryptor(CPDF_CryptoHandler* pHandler, return; } - uint32_t buf_size = pHandler->EncryptGetSize(objnum, 0, src_data); + uint32_t buf_size = pHandler->EncryptGetSize(src_data); m_NewBuf.resize(buf_size); pHandler->EncryptContent(objnum, 0, src_data, m_NewBuf.data(), buf_size); // Updates |buf_size| with actual. |