Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1737)

Unified Diff: core/fpdfapi/parser/cpdf_stream_acc.cpp

Issue 2477443002: Remove FX_BOOL from core (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fpdfapi/parser/cpdf_stream_acc.h ('k') | core/fpdfapi/parser/cpdf_string.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfapi/parser/cpdf_stream_acc.cpp
diff --git a/core/fpdfapi/parser/cpdf_stream_acc.cpp b/core/fpdfapi/parser/cpdf_stream_acc.cpp
index e8bf6d7e1587d776618c53a64a087e14eb34a99b..81439bc6773832e97451fa839d64de450d30590e 100644
--- a/core/fpdfapi/parser/cpdf_stream_acc.cpp
+++ b/core/fpdfapi/parser/cpdf_stream_acc.cpp
@@ -11,15 +11,15 @@
CPDF_StreamAcc::CPDF_StreamAcc()
: m_pData(nullptr),
m_dwSize(0),
- m_bNewBuf(FALSE),
+ m_bNewBuf(false),
m_pImageParam(nullptr),
m_pStream(nullptr),
m_pSrcData(nullptr) {}
void CPDF_StreamAcc::LoadAllData(const CPDF_Stream* pStream,
- FX_BOOL bRawAccess,
+ bool bRawAccess,
uint32_t estimated_size,
- FX_BOOL bImageAcc) {
+ bool bImageAcc) {
if (!pStream)
return;
@@ -46,9 +46,9 @@ void CPDF_StreamAcc::LoadAllData(const CPDF_Stream* pStream,
m_pData = pSrcData;
m_dwSize = dwSrcSize;
} else {
- FX_BOOL bRet = PDF_DataDecode(pSrcData, dwSrcSize, m_pStream->GetDict(),
- m_pData, m_dwSize, m_ImageDecoder,
- m_pImageParam, estimated_size, bImageAcc);
+ bool bRet = PDF_DataDecode(pSrcData, dwSrcSize, m_pStream->GetDict(),
+ m_pData, m_dwSize, m_ImageDecoder, m_pImageParam,
+ estimated_size, bImageAcc);
if (!bRet) {
m_pData = pSrcData;
m_dwSize = dwSrcSize;
« no previous file with comments | « core/fpdfapi/parser/cpdf_stream_acc.h ('k') | core/fpdfapi/parser/cpdf_string.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698