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

Unified Diff: tracing/tracing/model/user_model/stub_expectation.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/model/user_model/stub_expectation.html
diff --git a/tracing/tracing/model/user_model/stub_expectation.html b/tracing/tracing/model/user_model/stub_expectation.html
index a8126194eda9b028de29638c040c0f6552d11a69..8b4b630d7667df4075dd3cf8af04057f49abf3eb 100644
--- a/tracing/tracing/model/user_model/stub_expectation.html
+++ b/tracing/tracing/model/user_model/stub_expectation.html
@@ -22,10 +22,12 @@ tr.exportTo('tr.model.um', function() {
this.title_ = args.title;
if (!this.title_) {
var defaultTitle = [];
- if (this.initiatorTitle_)
+ if (this.initiatorTitle_) {
defaultTitle.push(this.initiatorTitle_);
- if (this.stageTitle_)
+ }
+ if (this.stageTitle_) {
defaultTitle.push(this.stageTitle_);
+ }
this.title_ = defaultTitle.join(' ') || 'title';
}
« no previous file with comments | « tracing/tracing/model/user_model/load_expectation.html ('k') | tracing/tracing/model/user_model/user_expectation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698