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

Unified Diff: LayoutTests/inspector/profiler/heap-snapshot-statistics.html

Issue 214713004: DevTools: Calculate user object distances from Window not from NativeContext. (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
Index: LayoutTests/inspector/profiler/heap-snapshot-statistics.html
diff --git a/LayoutTests/inspector/profiler/heap-snapshot-statistics.html b/LayoutTests/inspector/profiler/heap-snapshot-statistics.html
index 18c3245d2957f537dc6489de8eb3ccfedb43831b..7277ef876ef02e28a070ab7a9e23f4ffe2f26d80 100644
--- a/LayoutTests/inspector/profiler/heap-snapshot-statistics.html
+++ b/LayoutTests/inspector/profiler/heap-snapshot-statistics.html
@@ -12,6 +12,7 @@ function test()
var index = 0;
for (type in InspectorTest.HeapNode.Type) {
if (!InspectorTest.HeapNode.Type.hasOwnProperty(type)) continue;
+ if (type === InspectorTest.HeapNode.Type.synthetic) continue;
++index;
var size = index * Math.pow(10, index - 1);
var node = new InspectorTest.HeapNode(type, size, InspectorTest.HeapNode.Type[type]);

Powered by Google App Engine
This is Rietveld 408576698