summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_parser.cpp
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/parser/cpdf_parser.cpp
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/parser/cpdf_parser.cpp')
-rw-r--r--core/fpdfapi/parser/cpdf_parser.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/fpdfapi/parser/cpdf_parser.cpp b/core/fpdfapi/parser/cpdf_parser.cpp
index a1b8a2deba..02cba64541 100644
--- a/core/fpdfapi/parser/cpdf_parser.cpp
+++ b/core/fpdfapi/parser/cpdf_parser.cpp
@@ -311,9 +311,6 @@ CPDF_Parser::Error CPDF_Parser::SetEncryptHandler() {
m_Password))
return PASSWORD_ERROR;
- if (!pSecurityHandler->InitCryptoHandler())
- return HANDLER_ERROR;
-
m_pSecurityHandler = std::move(pSecurityHandler);
}
return SUCCESS;