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); |
}); |