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

Unified Diff: base/platform_thread_win.cc

Issue 18677: Use PlatformThreadId, not int when dealing with thread ids. (Closed)
Patch Set: Addressing comments Created 11 years, 11 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 | « base/platform_thread_posix.cc ('k') | base/simple_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/platform_thread_win.cc
diff --git a/base/platform_thread_win.cc b/base/platform_thread_win.cc
index c390e18e58d85dcb31753a863e4ebe0875246e50..d813bb7289a7a18c541ff35f5b933e9c3c2da22d 100644
--- a/base/platform_thread_win.cc
+++ b/base/platform_thread_win.cc
@@ -30,7 +30,7 @@ DWORD __stdcall ThreadFunc(void* closure) {
} // namespace
// static
-int PlatformThread::CurrentId() {
+PlatformThreadId PlatformThread::CurrentId() {
return GetCurrentThreadId();
}
« no previous file with comments | « base/platform_thread_posix.cc ('k') | base/simple_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698