summaryrefslogtreecommitdiffstats
path: root/base/metrics/stats_counters.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/metrics/stats_counters.cc')
-rw-r--r--base/metrics/stats_counters.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/metrics/stats_counters.cc b/base/metrics/stats_counters.cc
index f763220..12416d9 100644
--- a/base/metrics/stats_counters.cc
+++ b/base/metrics/stats_counters.cc
@@ -45,7 +45,7 @@ int* StatsCounter::GetPtr() {
if (counter_id_ == -1) {
counter_id_ = table->FindCounter(name_);
if (table->GetSlot() == 0) {
- if (!table->RegisterThread("")) {
+ if (!table->RegisterThread(std::string())) {
// There is no room for this thread. This thread
// cannot use counters.
counter_id_ = 0;