Index: LayoutTests/inspector/profiler/heap-snapshot-test.js |
diff --git a/LayoutTests/inspector/profiler/heap-snapshot-test.js b/LayoutTests/inspector/profiler/heap-snapshot-test.js |
index 791ccf00d17c4df24dc0d7226264af56a59ee054..23145e341bddd4c8a6859a6410715235c3312d93 100644 |
--- a/LayoutTests/inspector/profiler/heap-snapshot-test.js |
+++ b/LayoutTests/inspector/profiler/heap-snapshot-test.js |
@@ -689,6 +689,8 @@ InspectorTest.switchToView = function(title, callback) |
callback = InspectorTest.safeWrap(callback); |
var view = WebInspector.panels.profiles.visibleView; |
view.changeView(title, callback); |
+ // Increase the grid container height so the viewport don't limit the number of nodes. |
+ InspectorTest._currentGrid().scrollContainer.style.height = "10000px"; |
}; |
InspectorTest.takeAndOpenSnapshot = function(generator, callback) |