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

Unified Diff: tracing/tracing/model/user_model/load_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/load_expectation.html
diff --git a/tracing/tracing/model/user_model/load_expectation.html b/tracing/tracing/model/user_model/load_expectation.html
index 44cd8fd60b229a4d04db0f11860fe8b646894f3b..ffa33d7b90fadd26dd970643cf6a7d3ded84ebda 100644
--- a/tracing/tracing/model/user_model/load_expectation.html
+++ b/tracing/tracing/model/user_model/load_expectation.html
@@ -22,8 +22,9 @@ tr.exportTo('tr.model.um', function() {
}
function LoadExpectation(parentModel, initiatorTitle, start, duration) {
- if (!DOES_LOAD_SUBTYPE_NAME_EXIST[initiatorTitle])
+ if (!DOES_LOAD_SUBTYPE_NAME_EXIST[initiatorTitle]) {
throw new Error(initiatorTitle + ' is not in LOAD_SUBTYPE_NAMES');
+ }
tr.model.um.UserExpectation.call(
this, parentModel, initiatorTitle, start, duration);
« no previous file with comments | « tracing/tracing/model/user_model/animation_expectation.html ('k') | tracing/tracing/model/user_model/stub_expectation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698