Index: runtime/vm/os_thread.cc |
diff --git a/runtime/vm/os_thread.cc b/runtime/vm/os_thread.cc |
index 75a7a31850d3b201fc552bd87481a8e9cd3e208d..3700c9f0ca1c01a62bf11924d51a7a3b2ed917f3 100644 |
--- a/runtime/vm/os_thread.cc |
+++ b/runtime/vm/os_thread.cc |
@@ -26,7 +26,9 @@ OSThread::OSThread() : |
#if defined(DEBUG) |
join_id_(kInvalidThreadJoinId), |
#endif |
+#ifndef PRODUCT |
trace_id_(OSThread::GetCurrentThreadTraceId()), |
+#endif |
name_(NULL), |
timeline_block_lock_(new Mutex()), |
timeline_block_(NULL), |