Index: Source/devtools/front_end/HeapSnapshotDataGrids.js |
diff --git a/Source/devtools/front_end/HeapSnapshotDataGrids.js b/Source/devtools/front_end/HeapSnapshotDataGrids.js |
index 92e7d08563f41280312aee8f9dbefc1e5d23efb1..da4bc852aac01658a89347f938facf177fdd6cb5 100644 |
--- a/Source/devtools/front_end/HeapSnapshotDataGrids.js |
+++ b/Source/devtools/front_end/HeapSnapshotDataGrids.js |
@@ -769,6 +769,13 @@ WebInspector.HeapSnapshotConstructorsDataGrid.prototype = { |
this.snapshot.nodeClassName(parseInt(id, 10), didGetClassName.bind(this)); |
}, |
+ clear: function() |
+ { |
+ this._nextRequestedFilter = null; |
+ this._lastFilter = null; |
+ this.removeTopLevelNodes(); |
+ }, |
+ |
setDataSource: function(snapshot) |
{ |
this.snapshot = snapshot; |