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

Unified Diff: tracing/tracing/value/ui/numeric_stats_span_test.html

Issue 2283213002: Rename Histogram.add() to addSample(). (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 4 years, 4 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
Index: tracing/tracing/value/ui/numeric_stats_span_test.html
diff --git a/tracing/tracing/value/ui/numeric_stats_span_test.html b/tracing/tracing/value/ui/numeric_stats_span_test.html
index d8d6b20edf16da52cd7106aca1ca2b8e29f591d6..eb49ddd0da87bbecbe9757185687e976c4d73c3b 100644
--- a/tracing/tracing/value/ui/numeric_stats_span_test.html
+++ b/tracing/tracing/value/ui/numeric_stats_span_test.html
@@ -17,10 +17,10 @@ tr.b.unittest.testSuite(function() {
var numeric = new tr.v.Histogram(tr.v.Unit.byName.count);
for (var i = 0; i < 1e2; ++i) {
- numeric.add(Math.random() * 1000);
+ numeric.addSample(Math.random() * 1000);
}
- numeric.add('foo');
+ numeric.addSample('foo');
numeric.customizeSummaryOptions({nans: true});
span.numeric = numeric;
« no previous file with comments | « tracing/tracing/value/ui/histogram_span_test.html ('k') | tracing/tracing/value/ui/value_set_table_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698