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

Unified Diff: runtime/vm/os_thread_macos.cc

Issue 1365183002: Fix MacOS build (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_thread_macos.cc
diff --git a/runtime/vm/os_thread_macos.cc b/runtime/vm/os_thread_macos.cc
index dbcd9e04fcd0b7e02880fd734bd9ff4b1176f081..827f74925763b78ab6886403d8577c876c1fa41a 100644
--- a/runtime/vm/os_thread_macos.cc
+++ b/runtime/vm/os_thread_macos.cc
@@ -151,7 +151,7 @@ ThreadId OSThread::GetCurrentThreadId() {
ThreadId OSThread::GetCurrentThreadTraceId() {
- return pthread_mach_thread_np(pthread_self());
+ return ThreadIdFromIntPtr(pthread_mach_thread_np(pthread_self()));
Ivan Posva 2015/09/25 07:48:42 This indicates that ThreadId and TraceId should pr
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698