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

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

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: Fix test 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/multi_object_sub_view.html
diff --git a/tracing/tracing/ui/analysis/multi_object_sub_view.html b/tracing/tracing/ui/analysis/multi_object_sub_view.html
index 10775443685de77029d71a352e1ccf71546fb093..ba490927d529e30ea6a78c0b6f1e10c2bd0d21ec 100644
--- a/tracing/tracing/ui/analysis/multi_object_sub_view.html
+++ b/tracing/tracing/ui/analysis/multi_object_sub_view.html
@@ -58,8 +58,9 @@ Polymer({
{
title: 'First',
value: function(event) {
- if (event instanceof tr.model.ObjectSnapshot)
+ if (event instanceof tr.model.ObjectSnapshot) {
return tr.v.ui.createScalarSpan(event.ts, timeSpanConfig);
+ }
var spanEl = document.createElement('span');
Polymer.dom(spanEl).appendChild(tr.v.ui.createScalarSpan(

Powered by Google App Engine
This is Rietveld 408576698