Index: runtime/vm/thread_interrupter.cc |
diff --git a/runtime/vm/thread_interrupter.cc b/runtime/vm/thread_interrupter.cc |
index 1e0d8cf044281cfe41289b6adc953123610470dd..fa14d2e0187d046b3acc28acd36593a6657ba5e5 100644 |
--- a/runtime/vm/thread_interrupter.cc |
+++ b/runtime/vm/thread_interrupter.cc |
@@ -157,7 +157,7 @@ void ThreadInterrupter::ThreadMain(uword parameters) { |
MonitorLocker startup_ml(monitor_); |
OSThread* os_thread = OSThread::Current(); |
ASSERT(os_thread != NULL); |
- interrupter_thread_id_ = os_thread->join_id(); |
+ interrupter_thread_id_ = OSThread::GetCurrentThreadJoinId(os_thread); |
thread_running_ = true; |
startup_ml.Notify(); |
} |