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

Unified Diff: core/include/fxcrt/fx_string.h

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 | « core/include/fxcrt/fx_stream.h ('k') | core/include/fxcrt/fx_system.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fxcrt/fx_string.h
diff --git a/core/include/fxcrt/fx_string.h b/core/include/fxcrt/fx_string.h
index 9903dad942bfae54bd617469fc1c1381f2df03a9..8fc9d79ebbddb3393d861ba762a69b32fa228e74 100644
--- a/core/include/fxcrt/fx_string.h
+++ b/core/include/fxcrt/fx_string.h
@@ -121,7 +121,7 @@ public:
return m_Length == 0;
}
- FX_BYTE GetAt(FX_STRSIZE index) const
+ uint8_t GetAt(FX_STRSIZE index) const
{
return m_Ptr[index];
}
@@ -140,7 +140,7 @@ public:
return CFX_ByteStringC(m_Ptr + index, count);
}
- const FX_BYTE& operator[] (size_t index) const
+ const uint8_t& operator[] (size_t index) const
{
return m_Ptr[index];
}
@@ -279,12 +279,12 @@ public:
const CFX_ByteString& operator += (FX_BSTR bstrc);
- FX_BYTE GetAt(FX_STRSIZE nIndex) const
+ uint8_t GetAt(FX_STRSIZE nIndex) const
{
return m_pData ? m_pData->m_String[nIndex] : 0;
}
- FX_BYTE operator[](FX_STRSIZE nIndex) const
+ uint8_t operator[](FX_STRSIZE nIndex) const
{
return m_pData ? m_pData->m_String[nIndex] : 0;
}
« no previous file with comments | « core/include/fxcrt/fx_stream.h ('k') | core/include/fxcrt/fx_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698