| Index: third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js
|
| index eb1786b63107dcefab4264d1105af70b226fbcc7..b3965fd96b56633ff16bd236fa27dcdf124af2ce 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js
|
| @@ -293,8 +293,8 @@ WebInspector.NetworkLogView.prototype = {
|
| this._timelineWidget.element.classList.add("network-timeline-view");
|
| this._splitWidget.setMainWidget(this._timelineWidget);
|
|
|
| - var networkTimelineView = new WebInspector.NetworkTimelineColumn(this, this._dataGrid);
|
| - networkTimelineView.show(this._timelineWidget.element);
|
| + this._timelineColumn = new WebInspector.NetworkTimelineColumn(this, this._dataGrid);
|
| + this._timelineColumn.show(this._timelineWidget.element);
|
| this.switchViewMode(false);
|
| } else {
|
| this._createTable();
|
| @@ -671,6 +671,8 @@ WebInspector.NetworkLogView.prototype = {
|
|
|
| this._staleRequestIds = {};
|
| this._updateSummaryBar();
|
| + if (Runtime.experiments.isEnabled("canvasNetworkTimeline"))
|
| + this._timelineColumn.scheduleRefreshData();
|
| },
|
|
|
| reset: function()
|
| @@ -1125,13 +1127,15 @@ WebInspector.NetworkLogView.prototype = {
|
| return;
|
|
|
| this._timelineColumnSortIcon.classList.remove("sort-ascending", "sort-descending");
|
| - if (this._dataGrid.sortColumnIdentifier() !== "timeline")
|
| - return;
|
|
|
| - if (this._dataGrid.sortOrder() === WebInspector.DataGrid.Order.Ascending)
|
| - this._timelineColumnSortIcon.classList.add("sort-ascending");
|
| - else
|
| - this._timelineColumnSortIcon.classList.add("sort-descending");
|
| + if (this._dataGrid.sortColumnIdentifier() === "timeline") {
|
| + if (this._dataGrid.sortOrder() === WebInspector.DataGrid.Order.Ascending)
|
| + this._timelineColumnSortIcon.classList.add("sort-ascending");
|
| + else
|
| + this._timelineColumnSortIcon.classList.add("sort-descending");
|
| + }
|
| +
|
| + this._timelineColumn.scheduleRefreshData();
|
| },
|
|
|
| /**
|
|
|