Index: chrome/common/trace_event_args_whitelist.cc |
diff --git a/chrome/common/trace_event_args_whitelist.cc b/chrome/common/trace_event_args_whitelist.cc |
index 740852f40926a03889b523176f0dd79187244ffe..c23c6606abf864b6205837ebf89e102a372689d9 100644 |
--- a/chrome/common/trace_event_args_whitelist.cc |
+++ b/chrome/common/trace_event_args_whitelist.cc |
@@ -75,7 +75,7 @@ bool IsTraceEventArgsWhitelisted( |
const WhitelistEntry& whitelist_entry = kEventArgsWhitelist[i]; |
DCHECK(whitelist_entry.event_name); |
- if (base::MatchPattern(category_group_token.c_str(), |
+ if (base::MatchPattern(category_group_token, |
whitelist_entry.category_name) && |
base::MatchPattern(event_name, whitelist_entry.event_name)) { |
if (whitelist_entry.arg_name_filter) { |