Index: runtime/vm/os_thread_win.cc |
diff --git a/runtime/vm/os_thread_win.cc b/runtime/vm/os_thread_win.cc |
index cdcf36ca49cfdcfee4e00663f38218a742cbdbcc..126594910b55bc0cae7d1169ee3b59f25039a100 100644 |
--- a/runtime/vm/os_thread_win.cc |
+++ b/runtime/vm/os_thread_win.cc |
@@ -118,6 +118,11 @@ intptr_t OSThread::ThreadIdToIntPtr(ThreadId id) { |
} |
+ThreadId OSThread::ThreadIdFromIntPtr(intptr_t id) { |
+ return static_cast<ThreadId>(id); |
+} |
+ |
+ |
bool OSThread::Compare(ThreadId a, ThreadId b) { |
return a == b; |
} |