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

Unified Diff: tracing/tracing/ui/analysis/single_cpu_slice_sub_view.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_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;
« no previous file with comments | « tracing/tracing/ui/analysis/single_async_slice_sub_view.html ('k') | tracing/tracing/ui/analysis/single_event_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698