summaryrefslogtreecommitdiff
path: root/chromium/services/tracing/public/cpp/perfetto/trace_event_data_source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/services/tracing/public/cpp/perfetto/trace_event_data_source.cc')
-rw-r--r--chromium/services/tracing/public/cpp/perfetto/trace_event_data_source.cc6
1 files changed, 0 insertions, 6 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 1cf6bcbc297..8afe51f82e8 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
@@ -522,14 +522,11 @@ void TraceEventDataSource::Flush(
}
void TraceEventDataSource::ClearIncrementalState() {
-#ifndef TOOLKIT_QT
TrackEventThreadLocalEventSink::ClearIncrementalState();
-#endif
}
ThreadLocalEventSink* TraceEventDataSource::CreateThreadLocalEventSink(
bool thread_will_flush) {
-#ifndef TOOLKIT_QT
// The call to CreateTraceWriter() below posts a task which is not allowed
// while holding |lock_|. Since we have to call it while holding |lock_|, we
// defer the task posting until after the lock is released.
@@ -555,9 +552,6 @@ ThreadLocalEventSink* TraceEventDataSource::CreateThreadLocalEventSink(
return new TrackEventThreadLocalEventSink(std::move(trace_writer), session_id,
disable_interning_,
privacy_filtering_enabled_);
-#else
- return nullptr;
-#endif
}
// static