Title: [114662] trunk/Source/WebCore
- Revision
- 114662
- Author
- yu...@chromium.org
- Date
- 2012-04-19 11:50:44 -0700 (Thu, 19 Apr 2012)
Log Message
Web Inspector / Heap snapshots: "Object's retaining tree" view doesn't get cleared when navigating between objects
https://bugs.webkit.org/show_bug.cgi?id=84337
When DataGrid root node is reset, make sure all existing rows are removed.
Reviewed by Vsevolod Vlasov.
* inspector/front-end/DataGrid.js:
(WebInspector.DataGrid.prototype.setRootNode):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (114661 => 114662)
--- trunk/Source/WebCore/ChangeLog 2012-04-19 18:47:27 UTC (rev 114661)
+++ trunk/Source/WebCore/ChangeLog 2012-04-19 18:50:44 UTC (rev 114662)
@@ -1,3 +1,15 @@
+2012-04-19 Yury Semikhatsky <yu...@chromium.org>
+
+ Web Inspector / Heap snapshots: "Object's retaining tree" view doesn't get cleared when navigating between objects
+ https://bugs.webkit.org/show_bug.cgi?id=84337
+
+ When DataGrid root node is reset, make sure all existing rows are removed.
+
+ Reviewed by Vsevolod Vlasov.
+
+ * inspector/front-end/DataGrid.js:
+ (WebInspector.DataGrid.prototype.setRootNode):
+
2012-04-19 Beth Dakin <bda...@apple.com>
https://bugs.webkit.org/show_bug.cgi?id=80536
Modified: trunk/Source/WebCore/inspector/front-end/DataGrid.js (114661 => 114662)
--- trunk/Source/WebCore/inspector/front-end/DataGrid.js 2012-04-19 18:47:27 UTC (rev 114661)
+++ trunk/Source/WebCore/inspector/front-end/DataGrid.js 2012-04-19 18:50:44 UTC (rev 114662)
@@ -241,6 +241,7 @@
setRootNode: function(rootNode)
{
if (this._rootNode) {
+ this._rootNode.removeChildren();
this._rootNode.dataGrid = null;
this._rootNode._isRoot = false;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes