Index: third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js |
index 53376a6ba6c09796909bf673d72d3bbaeaf49af5..7cbd38a129672baf09e533f4726ad8a104305e16 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js |
@@ -1865,5 +1865,16 @@ WebInspector.DataGridContainerWidget.prototype = { |
return result; |
}, |
+ /** |
+ * @override |
+ */ |
+ detachChildWidgets: function() |
+ { |
+ WebInspector.Widget.prototype.detachChildWidgets.call(this); |
+ for (var dataGrid of this._dataGrids) |
+ this.element.removeChild(dataGrid.element); |
+ this._dataGrids = []; |
+ }, |
+ |
__proto__: WebInspector.VBox.prototype |
} |