diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-05 19:09:10 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-05 19:09:10 +0000 |
commit | 2cc287aec96752d8c36b4178bb75f737842b649b (patch) | |
tree | 84a9dac52899f9d36c798f47ad0b1ee3960aaaba /core/fpdfapi/edit/cpdf_encryptor.h | |
parent | 4a8478efac2c6b8642298b1e0f2c83247a569cb1 (diff) | |
download | pdfium-2cc287aec96752d8c36b4178bb75f737842b649b.tar.xz |
Get rid of a const_cast in CPDF_FlateEncoder.
Change-Id: I3ee8f8e9eb33d251dc00336bcd31e578e7ce5143
Reviewed-on: https://pdfium-review.googlesource.com/29854
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi/edit/cpdf_encryptor.h')
-rw-r--r-- | core/fpdfapi/edit/cpdf_encryptor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/edit/cpdf_encryptor.h b/core/fpdfapi/edit/cpdf_encryptor.h index 00c9337eb3..1da601d491 100644 --- a/core/fpdfapi/edit/cpdf_encryptor.h +++ b/core/fpdfapi/edit/cpdf_encryptor.h @@ -15,7 +15,7 @@ class CPDF_Encryptor { public: CPDF_Encryptor(CPDF_CryptoHandler* pHandler, int objnum, - uint8_t* src_data, + const uint8_t* src_data, uint32_t src_size); ~CPDF_Encryptor(); |