| Index: third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js
|
| index 8c3fb6cb950083c097dddb00f0bdc6f2ce0b10ff..3b9cfb3a73017f581b19a57b5019ad9f4c60132c 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/TimelineOverviewPane.js
|
| @@ -141,17 +141,7 @@ WebInspector.TimelineOverviewPane.prototype = {
|
| {
|
| var document = this.element.ownerDocument;
|
| var x = this._cursorPosition;
|
| - var promises = this._overviewControls.map(mapToPopover);
|
| -
|
| - /**
|
| - * @param {!WebInspector.TimelineOverview} control
|
| - * @return {!Promise<?Element>}
|
| - */
|
| - function mapToPopover(control)
|
| - {
|
| - return control.popoverElementPromise(x)
|
| - }
|
| -
|
| + var promises = this._overviewControls.map(control => control.popoverElementPromise(x));
|
| return Promise.all(promises).then(buildFragment);
|
|
|
| /**
|
|
|