summaryrefslogtreecommitdiffstats
path: root/base/metrics/stats_table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/metrics/stats_table.cc')
-rw-r--r--base/metrics/stats_table.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/metrics/stats_table.cc b/base/metrics/stats_table.cc
index dede1e4..9585863 100644
--- a/base/metrics/stats_table.cc
+++ b/base/metrics/stats_table.cc
@@ -431,8 +431,8 @@ int* StatsTable::FindLocation(const char* name) {
// Get the slot for this thread. Try to register
// it if none exists.
int slot = table->GetSlot();
- if (!slot && !(slot = table->RegisterThread("")))
- return NULL;
+ if (!slot && !(slot = table->RegisterThread(std::string())))
+ return NULL;
// Find the counter id for the counter.
std::string str_name(name);