Index: base/metrics/stats_table.cc |
diff --git a/base/metrics/stats_table.cc b/base/metrics/stats_table.cc |
index dede1e4f0552d760f5206d9687864c2ba0884889..9585863089e05f04579514481533b9ead4eb070f 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); |