summaryrefslogtreecommitdiffstats
path: root/chromium/content/browser/tracing/tracing_controller_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/tracing/tracing_controller_impl.cc')
-rw-r--r--chromium/content/browser/tracing/tracing_controller_impl.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chromium/content/browser/tracing/tracing_controller_impl.cc b/chromium/content/browser/tracing/tracing_controller_impl.cc
index beed93a8031..758526f49f0 100644
--- a/chromium/content/browser/tracing/tracing_controller_impl.cc
+++ b/chromium/content/browser/tracing/tracing_controller_impl.cc
@@ -298,10 +298,7 @@ TracingControllerImpl* TracingControllerImpl::GetInstance() {
bool TracingControllerImpl::GetCategories(GetCategoriesDoneCallback callback) {
std::set<std::string> category_set;
-
- tracing::TraceEventAgent::GetInstance()->GetCategories(&category_set);
- for (auto& agent : agents_)
- agent->GetCategories(&category_set);
+ tracing::TracedProcessImpl::GetInstance()->GetCategories(&category_set);
std::move(callback).Run(category_set);
return true;