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

Unified Diff: src/log.cc

Issue 2511093002: [counters] RuntimeStats: fix wrong bookkeeping when dynamically changing counters. (Closed)
Patch Set: merge with master Created 4 years, 1 month 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
Index: src/log.cc
diff --git a/src/log.cc b/src/log.cc
index bc52d053f35a6e34e3be7fd3c126c221a95bc43b..f0d7a6c3a002372d4da0f0c8c7946ca532d3acbe 100644
--- a/src/log.cc
+++ b/src/log.cc
@@ -1279,7 +1279,7 @@ void Logger::RuntimeCallTimerEvent() {
if (counter == nullptr) return;
Log::MessageBuilder msg(log_);
msg.Append("active-runtime-timer,");
- msg.AppendDoubleQuotedString(counter->name);
+ msg.AppendDoubleQuotedString(counter->name());
msg.WriteToLogFile();
}

Powered by Google App Engine
This is Rietveld 408576698