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

Unified Diff: tracing/tracing/value/ui/composition_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
« no previous file with comments | « tracing/tracing/value/histogram_test.html ('k') | tracing/tracing/value/ui/histogram_span_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/ui/composition_span_test.html
diff --git a/tracing/tracing/value/ui/composition_span_test.html b/tracing/tracing/value/ui/composition_span_test.html
index 0bb04238498572f148b07dcf2b97ded87cb897a0..e64be186d2572889a1fde315d1ff2f70a792cc0d 100644
--- a/tracing/tracing/value/ui/composition_span_test.html
+++ b/tracing/tracing/value/ui/composition_span_test.html
@@ -19,7 +19,7 @@ tr.b.unittest.testSuite(function() {
var numeric = new tr.v.Histogram(tr.v.Unit.byName.timeDurationInMs);
var scalar = new tr.v.ScalarNumeric(tr.v.Unit.byName.timeDurationInMs, 42);
for (var i = 0; i < 1e2; ++i) {
- numeric.add(Math.random());
+ numeric.addSample(Math.random());
}
var composition = new tr.v.d.Composition();
composition.add(new tr.v.NumericValue('numeric', numeric));
« no previous file with comments | « tracing/tracing/value/histogram_test.html ('k') | tracing/tracing/value/ui/histogram_span_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698