| Index: tracing/tracing/ui/scripting_control.html
|
| diff --git a/tracing/tracing/ui/scripting_control.html b/tracing/tracing/ui/scripting_control.html
|
| index 798302b93d165502b02e53f80843a986681da705..90527213b23b2a72c3178a86319137d20bb5231e 100644
|
| --- a/tracing/tracing/ui/scripting_control.html
|
| +++ b/tracing/tracing/ui/scripting_control.html
|
| @@ -133,9 +133,13 @@ found in the LICENSE file.
|
| result = e.stack || e.stackTrace;
|
| }
|
|
|
| - if (result instanceof tr.b.Task) {
|
| + if (result instanceof tr.e.tquery.TQuery) {
|
| // TODO(skyostil): Show a cool spinner.
|
| - tr.b.Task.RunWhenIdle(result);
|
| + result.ready().then(function(selection) {
|
| + this.addLine_(selection.length + ' matches');
|
| + this.controller_.brushingStateController.
|
| + showScriptControlSelection(selection);
|
| + }.bind(this));
|
| } else {
|
| this.addLine_(result);
|
| }
|
|
|