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

Unified Diff: tracing/tracing/metrics/metric_registry.html

Issue 2955053002: Remove tr.b.identity. (Closed)
Patch Set: Created 3 years, 6 months 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
« no previous file with comments | « tracing/tracing/base/math/statistics.html ('k') | tracing/tracing/model/clock_sync_manager.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/metrics/metric_registry.html
diff --git a/tracing/tracing/metrics/metric_registry.html b/tracing/tracing/metrics/metric_registry.html
index a1fc7c7c6dfbd8178a59e3559a821ff2eb1d1161..5c89fab9128948b4623ccc4034718b1a9dd3c515 100644
--- a/tracing/tracing/metrics/metric_registry.html
+++ b/tracing/tracing/metrics/metric_registry.html
@@ -44,7 +44,7 @@ tr.exportTo('tr.metrics', function() {
line = line.replace(/^ */, '').split(':');
if (line.length < 4) return '';
return line[line.length - 3].split('/');
- }).filter(tr.b.identity);
+ }).filter(x => x);
}
MetricRegistry.checkFilename = function(metricName, opt_metricPathForTest) {
« no previous file with comments | « tracing/tracing/base/math/statistics.html ('k') | tracing/tracing/model/clock_sync_manager.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698