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

Unified Diff: xfa/src/fxbarcode/BC_Dimension.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_Dimension.h ('k') | xfa/src/fxbarcode/BC_Library.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fxbarcode/BC_Dimension.cpp
diff --git a/xfa/src/fxbarcode/BC_Dimension.cpp b/xfa/src/fxbarcode/BC_Dimension.cpp
index 5662c6eba71e726ead45f629ba5fac284eae38ef..dcd39ae3f15b301f6fa5ad1741c3b6cb68631999 100644
--- a/xfa/src/fxbarcode/BC_Dimension.cpp
+++ b/xfa/src/fxbarcode/BC_Dimension.cpp
@@ -26,7 +26,7 @@
CBC_Dimension::CBC_Dimension()
{
}
-CBC_Dimension::CBC_Dimension(FX_INT32 width, FX_INT32 height, FX_INT32 &e)
+CBC_Dimension::CBC_Dimension(int32_t width, int32_t height, int32_t &e)
{
if (width < 0 || height < 0) {
e = BCExceptionHeightAndWidthMustBeAtLeast1;
@@ -37,15 +37,15 @@ CBC_Dimension::CBC_Dimension(FX_INT32 width, FX_INT32 height, FX_INT32 &e)
CBC_Dimension::~CBC_Dimension()
{
}
-FX_INT32 CBC_Dimension::getWidth()
+int32_t CBC_Dimension::getWidth()
{
return m_width;
}
-FX_INT32 CBC_Dimension::getHeight()
+int32_t CBC_Dimension::getHeight()
{
return m_height;
}
-FX_INT32 CBC_Dimension::hashCode()
+int32_t CBC_Dimension::hashCode()
{
return m_width * 32713 + m_height;
}
« no previous file with comments | « xfa/src/fxbarcode/BC_Dimension.h ('k') | xfa/src/fxbarcode/BC_Library.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698