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

Unified Diff: tracing/tracing/model/helpers/android_model_helper_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/model/helpers/android_model_helper_test.html
diff --git a/tracing/tracing/model/helpers/android_model_helper_test.html b/tracing/tracing/model/helpers/android_model_helper_test.html
index df8ddc35ff80ff8dccc37c4f478602fb7cc37e90..9db1b1f45315979f6ab17720fb4c6eb9edfe67ae 100644
--- a/tracing/tracing/model/helpers/android_model_helper_test.html
+++ b/tracing/tracing/model/helpers/android_model_helper_test.html
@@ -20,8 +20,9 @@ tr.b.unittest.testSuite(function() {
var newCounterSeries = tr.c.TestUtils.newCounterSeries;
function createSurfaceFlinger(model, vsyncCallback) {
- if (model.getProcess(2))
+ if (model.getProcess(2)) {
throw new Error('process already exists');
+ }
var sfProcess = model.getOrCreateProcess(2);
var sfThread = sfProcess.getOrCreateThread(2); // main thread, tid = pid
« no previous file with comments | « tracing/tracing/model/helpers/android_model_helper.html ('k') | tracing/tracing/model/helpers/android_surface_flinger.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698