Index: tracing/tracing/ui/analysis/single_cpu_slice_sub_view.html |
diff --git a/tracing/tracing/ui/analysis/single_cpu_slice_sub_view.html b/tracing/tracing/ui/analysis/single_cpu_slice_sub_view.html |
index a4f98dd255fd5678f7790efd667b9dfe0577a9e1..eecab26aca7d205fa10ddc8d24a5720fe08d258f 100644 |
--- a/tracing/tracing/ui/analysis/single_cpu_slice_sub_view.html |
+++ b/tracing/tracing/ui/analysis/single_cpu_slice_sub_view.html |
@@ -96,8 +96,9 @@ Polymer({ |
set selection(selection) { |
var cpuSlice = tr.b.getOnlyElement(selection); |
- if (!(cpuSlice instanceof tr.model.CpuSlice)) |
+ if (!(cpuSlice instanceof tr.model.CpuSlice)) { |
throw new Error('Only supports thread time slices'); |
+ } |
this.currentSelection_ = selection; |