Index: tracing/tracing/ui/analysis/container_memory_dump_sub_view_test.html |
diff --git a/tracing/tracing/ui/analysis/container_memory_dump_sub_view_test.html b/tracing/tracing/ui/analysis/container_memory_dump_sub_view_test.html |
index 05004a84f998e43a9cb2133794c1675f7fe57002..29ec85903fc7608517cde196a0121d7a188dfa8a 100644 |
--- a/tracing/tracing/ui/analysis/container_memory_dump_sub_view_test.html |
+++ b/tracing/tracing/ui/analysis/container_memory_dump_sub_view_test.html |
@@ -26,8 +26,9 @@ tr.b.unittest.testSuite(function() { |
function createViewWithSelection(selection, opt_parentElement) { |
var viewEl = document.createElement( |
'tr-ui-a-container-memory-dump-sub-view'); |
- if (opt_parentElement) |
+ if (opt_parentElement) { |
Polymer.dom(opt_parentElement).appendChild(viewEl); |
+ } |
if (selection === undefined) { |
viewEl.selection = undefined; |
} else { |
@@ -45,8 +46,9 @@ tr.b.unittest.testSuite(function() { |
test, containerMemoryDumps, detailsCheckCallback, opt_parentElement) { |
var viewEl = |
createViewWithSelection(containerMemoryDumps, opt_parentElement); |
- if (!opt_parentElement) |
+ if (!opt_parentElement) { |
test.addHTMLOutput(viewEl); |
+ } |
// The view should contain a stacked pane view with memory dump header and |
// overview panes. |