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

Unified Diff: xfa/src/fxbarcode/BC_BinaryBitmap.cpp

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 months 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 | « xfa/src/fxbarcode/BC_BinaryBitmap.h ('k') | xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fxbarcode/BC_BinaryBitmap.cpp
diff --git a/xfa/src/fxbarcode/BC_BinaryBitmap.cpp b/xfa/src/fxbarcode/BC_BinaryBitmap.cpp
index 90e1755cf40b47773edd7710a62e2a8057f45477..f37b49c4784fd868deb59382cd213e7de4fee87c 100644
--- a/xfa/src/fxbarcode/BC_BinaryBitmap.cpp
+++ b/xfa/src/fxbarcode/BC_BinaryBitmap.cpp
@@ -36,15 +36,15 @@ CBC_BinaryBitmap::~CBC_BinaryBitmap()
}
m_matrix = NULL;
}
-FX_INT32 CBC_BinaryBitmap::GetHeight()
+int32_t CBC_BinaryBitmap::GetHeight()
{
return m_binarizer->GetLuminanceSource()->GetHeight();
}
-FX_INT32 CBC_BinaryBitmap::GetWidth()
+int32_t CBC_BinaryBitmap::GetWidth()
{
return m_binarizer->GetLuminanceSource()->GetWidth();
}
-CBC_CommonBitMatrix *CBC_BinaryBitmap::GetMatrix(FX_INT32 &e)
+CBC_CommonBitMatrix *CBC_BinaryBitmap::GetMatrix(int32_t &e)
{
if (m_matrix == NULL) {
m_matrix = m_binarizer->GetBlackMatrix(e);
@@ -60,13 +60,13 @@ FX_BOOL CBC_BinaryBitmap::IsRotateSupported()
{
return m_binarizer->GetLuminanceSource()->IsRotateSupported();
}
-CBC_CommonBitArray *CBC_BinaryBitmap::GetBlackRow(FX_INT32 y, CBC_CommonBitArray *row, FX_INT32 &e)
+CBC_CommonBitArray *CBC_BinaryBitmap::GetBlackRow(int32_t y, CBC_CommonBitArray *row, int32_t &e)
{
CBC_CommonBitArray *temp = m_binarizer->GetBlackRow(y, row, e);
BC_EXCEPTION_CHECK_ReturnValue(e, NULL);
return temp;
}
-CBC_CommonBitMatrix *CBC_BinaryBitmap::GetBlackMatrix(FX_INT32 &e)
+CBC_CommonBitMatrix *CBC_BinaryBitmap::GetBlackMatrix(int32_t &e)
{
if (m_matrix == NULL) {
m_matrix = m_binarizer->GetBlackMatrix(e);
« no previous file with comments | « xfa/src/fxbarcode/BC_BinaryBitmap.h ('k') | xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698