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

Unified Diff: Source/devtools/front_end/HeapSnapshotDataGrids.js

Issue 198833008: Update constructors view when switching perspectives (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months 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
« no previous file with comments | « no previous file | Source/devtools/front_end/HeapSnapshotView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | Source/devtools/front_end/HeapSnapshotView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698