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

Unified Diff: xfa/src/fwl/src/core/fwl_threadimp.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/fwl/src/core/fwl_sdadapterimp.cpp ('k') | xfa/src/fwl/src/core/fwl_timerimp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fwl/src/core/fwl_threadimp.cpp
diff --git a/xfa/src/fwl/src/core/fwl_threadimp.cpp b/xfa/src/fwl/src/core/fwl_threadimp.cpp
index 66f4144c71b96f9737e59d1205f24566288a6898..7d9609a9cd9f1e7e4cace264274d4cc0d0fd1c54 100644
--- a/xfa/src/fwl/src/core/fwl_threadimp.cpp
+++ b/xfa/src/fwl/src/core/fwl_threadimp.cpp
@@ -35,7 +35,7 @@ FWL_ERR CFWL_Thread::Run(FWL_HTHREAD hThread)
}
CFWL_ControlThread * CFWL_NoteThread::_assistantThreadHandler = NULL;
FWL_HTHREAD CFWL_NoteThread::_assistantThread = NULL;
-FX_INT32 CFWL_NoteThread::_refCount = 0;
+int32_t CFWL_NoteThread::_refCount = 0;
IFWL_NoteThread* IFWL_NoteThread::Create()
{
return (IFWL_NoteThread*) FX_NEW CFWL_NoteThread;
@@ -92,7 +92,7 @@ FWL_ERR FWL_SuspendThread(FWL_HTHREAD hThread)
_FWL_RETURN_VALUE_IF_FAIL(ThreadMgr, FWL_ERR_Indefinite);
return ThreadMgr->Suspend(hThread);
}
-FWL_ERR FWL_KillThread(FWL_HTHREAD hThread, FX_INT32 iExitCode)
+FWL_ERR FWL_KillThread(FWL_HTHREAD hThread, int32_t iExitCode)
{
IFWL_AdapterNative * Native = FWL_GetAdapterNative();
_FWL_RETURN_VALUE_IF_FAIL(Native, FWL_ERR_Indefinite);
@@ -100,7 +100,7 @@ FWL_ERR FWL_KillThread(FWL_HTHREAD hThread, FX_INT32 iExitCode)
_FWL_RETURN_VALUE_IF_FAIL(ThreadMgr, FWL_ERR_Indefinite);
return ThreadMgr->Kill(hThread, iExitCode);
}
-FWL_ERR FWL_StopThread(FWL_HTHREAD hThread, FX_INT32 iExitCode)
+FWL_ERR FWL_StopThread(FWL_HTHREAD hThread, int32_t iExitCode)
{
IFWL_AdapterNative * Native = FWL_GetAdapterNative();
_FWL_RETURN_VALUE_IF_FAIL(Native, FWL_ERR_Indefinite);
@@ -144,15 +144,15 @@ FWL_ERR FWL_WaitSemaphore(FWL_HSEMAPHORE hSemaphore)
{
return ((IFWL_AdapterSemaphore*)hSemaphore)->Wait();
}
-FWL_ERR FWL_PostSemaphore(FWL_HSEMAPHORE hSemaphore, FX_INT32 down )
+FWL_ERR FWL_PostSemaphore(FWL_HSEMAPHORE hSemaphore, int32_t down )
{
return ((IFWL_AdapterSemaphore*)hSemaphore)->Post();
}
-FWL_ERR FWL_GetSemaphoreValue(FWL_HSEMAPHORE hSemaphore, FX_INT32 &value)
+FWL_ERR FWL_GetSemaphoreValue(FWL_HSEMAPHORE hSemaphore, int32_t &value)
{
return ((IFWL_AdapterSemaphore*)hSemaphore)->Value((FX_DWORD &)value);
}
-FWL_ERR FWL_ResetSemaphore(FWL_HSEMAPHORE hSemaphore, FX_INT32 init)
+FWL_ERR FWL_ResetSemaphore(FWL_HSEMAPHORE hSemaphore, int32_t init)
{
return ((IFWL_AdapterSemaphore*)hSemaphore)->Reset(init);
}
« no previous file with comments | « xfa/src/fwl/src/core/fwl_sdadapterimp.cpp ('k') | xfa/src/fwl/src/core/fwl_timerimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698