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

Unified Diff: tracing/tracing/ui/analysis/single_event_sub_view_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/ui/analysis/single_event_sub_view_test.html
diff --git a/tracing/tracing/ui/analysis/single_event_sub_view_test.html b/tracing/tracing/ui/analysis/single_event_sub_view_test.html
index 56cbb8ecea140a81e5e482c3919da87dc3e1b630..600b547dec47cae9e264dec1ac09dbc234a83a9a 100644
--- a/tracing/tracing/ui/analysis/single_event_sub_view_test.html
+++ b/tracing/tracing/ui/analysis/single_event_sub_view_test.html
@@ -50,11 +50,13 @@ tr.b.unittest.testSuite(function() {
var slice = newSliceEx({title: 'b', start: 0, duration: 0.002});
slice.category = options.withCategory ? 'foo' : '';
- if (options.withStartStackFrame)
+ if (options.withStartStackFrame) {
slice.startStackFrame = options.withStartStackFrame === 'a' ? fA : fB;
+ }
- if (options.withEndStackFrame)
+ if (options.withEndStackFrame) {
slice.endStackFrame = options.withEndStackFrame === 'a' ? fA : fB;
+ }
t53.sliceGroup.pushSlice(slice);
});
« no previous file with comments | « tracing/tracing/ui/analysis/single_event_sub_view.html ('k') | tracing/tracing/ui/analysis/single_frame_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698