Index: runtime/vm/os_thread_android.cc |
diff --git a/runtime/vm/os_thread_android.cc b/runtime/vm/os_thread_android.cc |
index ae1b9f2d4e81c755dfbd079b9f3c061eb03b6620..377fd94807cc443b79c7fdf0fd8cc2bdcfc7b1bd 100644 |
--- a/runtime/vm/os_thread_android.cc |
+++ b/runtime/vm/os_thread_android.cc |
@@ -169,6 +169,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; |
} |