| Index: tracing/tracing/base/view_state.html
|
| diff --git a/tracing/tracing/base/view_state.html b/tracing/tracing/base/view_state.html
|
| index 755400a15cfc88ee615e7de1d6cf44052cb001e2..a64bbc591fbad75612aee138a9284dfeb1dacdc6 100644
|
| --- a/tracing/tracing/base/view_state.html
|
| +++ b/tracing/tracing/base/view_state.html
|
| @@ -37,9 +37,13 @@ tr.exportTo('tr.b', function() {
|
| this.update(new Map([[name, value]]));
|
| }
|
|
|
| + async updateFromViewState(other) {
|
| + await this.update(other.properties_);
|
| + }
|
| +
|
| /**
|
| - * Updates fields, and, if any of them actually changed, dispatches
|
| - * an event with Map detail.delta.
|
| + * Updates properties, and, if any of them actually changed, dispatches
|
| + * an event with delta = {propertyName: {previous, current}}.
|
| *
|
| * @param {!(Object|Map)} delta
|
| */
|
|
|