summaryrefslogtreecommitdiff
path: root/core/fpdfapi/edit/cpdf_creator.h
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-06-08 20:39:04 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-08 20:39:04 +0000
commit8ef4ef26481d8ed80d33b898bcff829fa7c0999c (patch)
tree35eab2b23ededb258181636fe7c76491997180aa /core/fpdfapi/edit/cpdf_creator.h
parent84a331e041ff22718945e467bce15c177842e139 (diff)
downloadpdfium-8ef4ef26481d8ed80d33b898bcff829fa7c0999c.tar.xz
Move getting the CPDF_CryptoHandler into CPDF_Creator::WriteStream()
No reason to get it outside and pass it in. Change-Id: I75e3bbd361c04e195004d7c538145dfd56294816 Reviewed-on: https://pdfium-review.googlesource.com/34731 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/edit/cpdf_creator.h')
-rw-r--r--core/fpdfapi/edit/cpdf_creator.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fpdfapi/edit/cpdf_creator.h b/core/fpdfapi/edit/cpdf_creator.h
index af1a486d44..9c760edeae 100644
--- a/core/fpdfapi/edit/cpdf_creator.h
+++ b/core/fpdfapi/edit/cpdf_creator.h
@@ -55,9 +55,7 @@ class CPDF_Creator {
bool WriteDirectObj(uint32_t objnum, const CPDF_Object* pObj, bool bEncrypt);
bool WriteIndirectObj(uint32_t objnum, const CPDF_Object* pObj);
- bool WriteStream(const CPDF_Object* pStream,
- uint32_t objnum,
- CPDF_CryptoHandler* pCrypto);
+ bool WriteStream(const CPDF_Object* pStream, uint32_t objnum);
CPDF_CryptoHandler* GetCryptoHandler();