summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_security_handler.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-10-26 08:45:31 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-26 08:45:31 -0700
commit16b703cb504abedbae3e14f69c1ae355363a7ad8 (patch)
treee3561dae57648b23312c06991d96795ef0524b6c /core/fpdfapi/parser/cpdf_security_handler.h
parent04c1009af887eb5d3a183dd26421f644f63d8b77 (diff)
downloadpdfium-16b703cb504abedbae3e14f69c1ae355363a7ad8.tar.xz
Fix some bool/int mismatches.
Found by winxfa bot when fx_bool defined to bool. Review-Url: https://codereview.chromium.org/2449293002
Diffstat (limited to 'core/fpdfapi/parser/cpdf_security_handler.h')
-rw-r--r--core/fpdfapi/parser/cpdf_security_handler.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fpdfapi/parser/cpdf_security_handler.h b/core/fpdfapi/parser/cpdf_security_handler.h
index 686a25c1c5..9132fd9a46 100644
--- a/core/fpdfapi/parser/cpdf_security_handler.h
+++ b/core/fpdfapi/parser/cpdf_security_handler.h
@@ -50,11 +50,11 @@ class CPDF_SecurityHandler {
CFX_ByteString GetUserPassword(const uint8_t* owner_pass,
uint32_t pass_size,
int32_t key_len);
- int CheckPassword(const uint8_t* password,
- uint32_t pass_size,
- FX_BOOL bOwner,
- uint8_t* key,
- int key_len);
+ FX_BOOL CheckPassword(const uint8_t* password,
+ uint32_t pass_size,
+ FX_BOOL bOwner,
+ uint8_t* key,
+ int key_len);
private:
FX_BOOL LoadDict(CPDF_Dictionary* pEncryptDict);