Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui_lazy/SortableDataGrid.js

Issue 2523633003: [Devtools] Prepare network log view for grouping support (Closed)
Patch Set: changes Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/ui_lazy/SortableDataGrid.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/SortableDataGrid.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/SortableDataGrid.js
index 94db8da01b73de01323adcc9f6270e49b9c619db..ecf1e4852b2aca12e560c86318f3afc92471f89b 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/SortableDataGrid.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/SortableDataGrid.js
@@ -134,6 +134,7 @@ UI.SortableDataGrid = class extends UI.ViewportDataGrid {
*/
sortNodes(comparator, reverseMode) {
this._sortingFunction = UI.SortableDataGrid.Comparator.bind(null, comparator, reverseMode);
+ this._rootNode.recalculateSiblings(0);
this._rootNode._sortChildren(reverseMode);
this.scheduleUpdateStructure();
}

Powered by Google App Engine
This is Rietveld 408576698