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

Unified Diff: tracing/tracing/ui/analysis/container_memory_dump_sub_view_test.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 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: 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.
« no previous file with comments | « tracing/tracing/ui/analysis/container_memory_dump_sub_view.html ('k') | tracing/tracing/ui/analysis/flow_classifier.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698