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

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

Issue 1685683003: Implement Timeline Based Measurement v2 (Closed) Base URL: git@github.com:catapult-project/catapult.git@new_style_results
Patch Set: fix vinn tests Created 4 years, 10 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/metrics/value_list.html ('k') | tracing/tracing_project.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/value.html
diff --git a/tracing/tracing/value/value.html b/tracing/tracing/value/value.html
index e592ba5e9e7be8524aaa7be53b718d3350668b41..56373a7fab6566ab7281425dcb7c888889111ccb 100644
--- a/tracing/tracing/value/value.html
+++ b/tracing/tracing/value/value.html
@@ -94,8 +94,6 @@ tr.exportTo('tr.v', function() {
}
NumericValue.fromDict = function(d) {
- if (d.units !== undefined)
- throw new Error('Expected units to be undefined');
if (d.numeric === undefined)
throw new Error('Expected numeric to be provided');
var numeric = tr.v.Numeric.fromDict(d.numeric);
« no previous file with comments | « tracing/tracing/metrics/value_list.html ('k') | tracing/tracing_project.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698