summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-10-05 08:07:30 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-05 08:07:30 -0700
commit7c1b07fde27dfbbf1d979d9dfd616b1a42591e5f (patch)
tree50b95879a4b6c3b4d69b7aef9fda6dc3b1041cd2 /core/fpdfapi/parser
parent958e57cbe864f356140b74cbc3b70bf352187bd4 (diff)
downloadpdfium-7c1b07fde27dfbbf1d979d9dfd616b1a42591e5f.tar.xz
Remove FX_BOOL from core/fpdfapi/font
FX_BOOL can be replaced by bool. Also replaced in a couple other places so that Winbots pass. Review-Url: https://codereview.chromium.org/2395803002
Diffstat (limited to 'core/fpdfapi/parser')
-rw-r--r--core/fpdfapi/parser/cpdf_dictionary.cpp2
-rw-r--r--core/fpdfapi/parser/cpdf_dictionary.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cpdf_dictionary.cpp b/core/fpdfapi/parser/cpdf_dictionary.cpp
index 7601c5b831..7ef5a53551 100644
--- a/core/fpdfapi/parser/cpdf_dictionary.cpp
+++ b/core/fpdfapi/parser/cpdf_dictionary.cpp
@@ -162,7 +162,7 @@ CFX_Matrix CPDF_Dictionary::GetMatrixFor(const CFX_ByteString& key) const {
return matrix;
}
-FX_BOOL CPDF_Dictionary::KeyExist(const CFX_ByteString& key) const {
+bool CPDF_Dictionary::KeyExist(const CFX_ByteString& key) const {
return pdfium::ContainsKey(m_Map, key);
}
diff --git a/core/fpdfapi/parser/cpdf_dictionary.h b/core/fpdfapi/parser/cpdf_dictionary.h
index 2da4409b71..23f2e0e3ca 100644
--- a/core/fpdfapi/parser/cpdf_dictionary.h
+++ b/core/fpdfapi/parser/cpdf_dictionary.h
@@ -54,7 +54,7 @@ class CPDF_Dictionary : public CPDF_Object {
return GetNumberFor(key);
}
- FX_BOOL KeyExist(const CFX_ByteString& key) const;
+ bool KeyExist(const CFX_ByteString& key) const;
bool IsSignatureDict() const;
// Set* functions invalidate iterators for the element with the key |key|.