Title: [105153] trunk/Source/WebCore
Revision
105153
Author
[email protected]
Date
2012-01-17 07:03:35 -0800 (Tue, 17 Jan 2012)

Log Message

[Chromium] Web Inspector: remove "Document DOM tree" class and "Detached DOM tree" from the Summary view.
https://bugs.webkit.org/show_bug.cgi?id=76450

Reviewed by Yury Semikhatsky.

* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshot.prototype._buildAggregates):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (105152 => 105153)


--- trunk/Source/WebCore/ChangeLog	2012-01-17 15:02:37 UTC (rev 105152)
+++ trunk/Source/WebCore/ChangeLog	2012-01-17 15:03:35 UTC (rev 105153)
@@ -1,3 +1,13 @@
+2012-01-17  Ilya Tikhonovsky  <[email protected]>
+
+        [Chromium] Web Inspector: remove "Document DOM tree" class and "Detached DOM tree" from the Summary view.
+        https://bugs.webkit.org/show_bug.cgi?id=76450
+
+        Reviewed by Yury Semikhatsky.
+
+        * inspector/front-end/HeapSnapshot.js:
+        (WebInspector.HeapSnapshot.prototype._buildAggregates):
+
 2012-01-17  Nikolas Zimmermann  <[email protected]>
 
         Large SVG text layout performance regression in r81168

Modified: trunk/Source/WebCore/inspector/front-end/HeapSnapshot.js (105152 => 105153)


--- trunk/Source/WebCore/inspector/front-end/HeapSnapshot.js	2012-01-17 15:02:37 UTC (rev 105152)
+++ trunk/Source/WebCore/inspector/front-end/HeapSnapshot.js	2012-01-17 15:03:35 UTC (rev 105153)
@@ -909,8 +909,12 @@
                 continue;
             if (node.type !== "native" && node.selfSize === 0)
                 continue;
+            var className = node.className;
+            if (className === "Document DOM tree")
+                continue;
+            if (className === "Detached DOM tree")
+                continue;
             var nameMatters = node.type === "object" || node.type === "native";
-            var className = node.className;
             if (!aggregates.hasOwnProperty(className))
                 aggregates[className] = { count: 0, self: 0, maxRet: 0, type: node.type, name: nameMatters ? node.name : null, idxs: [] };
             var clss = aggregates[className];
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to