Index: tracing/tracing/value/diagnostics/related_value_map.html |
diff --git a/tracing/tracing/value/diagnostics/related_value_map.html b/tracing/tracing/value/diagnostics/related_value_map.html |
index b3ee50110171d9e631917b0c18b58240282b019c..12fcde8fb415fcd6f9c912f7084c7c71b1c28034 100644 |
--- a/tracing/tracing/value/diagnostics/related_value_map.html |
+++ b/tracing/tracing/value/diagnostics/related_value_map.html |
@@ -21,7 +21,7 @@ tr.exportTo('tr.v.d', function() { |
__proto__: tr.v.d.Diagnostic.prototype, |
/** |
- * Add a named Value to this map. |
+ * Add a Value by an explicit name to this map. |
* |
* @param {string} name |
* @param {!(tr.v.d.ValueRef|tr.v.Value)} value |
@@ -35,6 +35,15 @@ tr.exportTo('tr.v.d', function() { |
}, |
/** |
+ * Add a Value implicitly by its own name to this map. |
+ * |
+ * @param {!(tr.v.d.ValueRef|tr.v.Value)} value |
+ */ |
+ add: function(value) { |
+ this.set(value.name, value); |
+ }, |
+ |
+ /** |
* Iterate over the named Values. |
* |
* @param {!function(string, !(tr.v.d.ValueRef|tr.v.Value))} callback |