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

Unified Diff: src/base/platform/platform-win32.cc

Issue 368433006: Reland "Linux perf tool support update + refactoring." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix Android builder Created 6 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
Index: src/base/platform/platform-win32.cc
diff --git a/src/base/platform/platform-win32.cc b/src/base/platform/platform-win32.cc
index b4f934e50ab49754da575af6ce99925bce9dafbd..4b4f2beaddcedca2fc3359149f107026802da612 100644
--- a/src/base/platform/platform-win32.cc
+++ b/src/base/platform/platform-win32.cc
@@ -517,6 +517,11 @@ int OS::GetCurrentProcessId() {
}
+int OS::GetCurrentThreadId() {
+ return static_cast<int>(::GetCurrentThreadId());
+}
+
+
// ----------------------------------------------------------------------------
// Win32 console output.
//
« no previous file with comments | « src/base/platform/platform-posix.cc ('k') | src/flag-definitions.h » ('j') | src/perf-jit.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698