Index: base/debug/trace_event_impl.cc |
diff --git a/base/debug/trace_event_impl.cc b/base/debug/trace_event_impl.cc |
index 70d92cee66f165685bfe61487b7883784ef07a54..67254c138ed5628ff39a3477742685fb1a8bba7c 100644 |
--- a/base/debug/trace_event_impl.cc |
+++ b/base/debug/trace_event_impl.cc |
@@ -977,7 +977,7 @@ void TraceLog::SetDisabled() { |
lock_.Release(); |
PlatformThread::Join(sampling_thread_handle_); |
lock_.Acquire(); |
- sampling_thread_handle_ = 0; |
+ sampling_thread_handle_ = PlatformThreadHandle(); |
sampling_thread_.reset(); |
} |