summaryrefslogtreecommitdiff
path: root/core/fpdfapi/edit
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-10-03 21:51:18 +0300
committerChromium commit bot <commit-bot@chromium.org>2017-10-03 19:01:05 +0000
commita081931e2b00e3aadff2050f7d253e17c124c69f (patch)
tree1ec6c2f5ba7e7a7d875cffe658e56dbc0803c122 /core/fpdfapi/edit
parentc3d5c9746384ccf13617370fbc81397040355c4d (diff)
downloadpdfium-a081931e2b00e3aadff2050f7d253e17c124c69f.tar.xz
Move initialization of CPDF_CryptoHandler into CPDF_SytnaxParser initialization.
Change-Id: I70d04f38767f2c17c41407fc9b4fc25519ba32f4 Reviewed-on: https://pdfium-review.googlesource.com/15330 Commit-Queue: Art Snake <art-snake@yandex-team.ru> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/edit')
-rw-r--r--core/fpdfapi/edit/cpdf_creator.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/fpdfapi/edit/cpdf_creator.cpp b/core/fpdfapi/edit/cpdf_creator.cpp
index d6384059d1..eecf37b981 100644
--- a/core/fpdfapi/edit/cpdf_creator.cpp
+++ b/core/fpdfapi/edit/cpdf_creator.cpp
@@ -807,7 +807,6 @@ void CPDF_Creator::InitID() {
m_pSecurityHandler = pdfium::MakeUnique<CPDF_SecurityHandler>();
m_pSecurityHandler->OnCreate(m_pEncryptDict.Get(), m_pIDArray.get(),
user_pass, flag);
- m_pSecurityHandler->InitCryptoHandler();
m_bSecurityChanged = true;
}
}