Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc

Issue 2780983003: Reland: Avoid calling strlen() where possible in base/trace_config (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/trace_event/trace_event_etw_export_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc
diff --git a/chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc b/chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc
index b45a4e1ea2e4a5aa8a1af3753faa1b7ba0b359ff..812d2fb7250c9bb3d52b67ab73fd587035623cb1 100644
--- a/chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc
+++ b/chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc
@@ -83,7 +83,7 @@ void ArcTracingBridge::StartTracing(
std::vector<std::string> selected_categories;
for (const auto& category : categories_) {
- if (trace_config.IsCategoryGroupEnabled(category.full_name.c_str()))
+ if (trace_config.IsCategoryGroupEnabled(category.full_name))
selected_categories.push_back(category.name);
}
« no previous file with comments | « base/trace_event/trace_event_etw_export_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698