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 |