diff options
Diffstat (limited to 'chromium/services/tracing/public')
-rw-r--r-- | chromium/services/tracing/public/cpp/perfetto/trace_event_data_source.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/services/tracing/public/cpp/perfetto/trace_event_data_source.cc b/chromium/services/tracing/public/cpp/perfetto/trace_event_data_source.cc index 624da1b0306..1146a23e720 100644 --- a/chromium/services/tracing/public/cpp/perfetto/trace_event_data_source.cc +++ b/chromium/services/tracing/public/cpp/perfetto/trace_event_data_source.cc @@ -537,9 +537,11 @@ TraceEventDataSource::TraceEventDataSource() // all platforms. process_creation_time_ticks_ = TRACE_TIME_TICKS_NOW(); +#ifndef TOOLKIT_QT DCHECK(session_flags_.is_lock_free()) << "SessionFlags are not atomic! We rely on efficient lock-free look-up " "of the session flags when emitting a trace event."; +#endif g_trace_event_data_source_for_testing = this; } |