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

Unified Diff: tracing/tracing/ui/analysis/single_power_sample_sub_view.html

Issue 2390373003: Change all == to === and != to !== in trace viewer. (Closed)
Patch Set: Created 4 years, 2 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_power_sample_sub_view.html
diff --git a/tracing/tracing/ui/analysis/single_power_sample_sub_view.html b/tracing/tracing/ui/analysis/single_power_sample_sub_view.html
index 1bc4fe8af1219f895656106775e3cb3cf0a2c144..9be2ec3fac37c5999bef2d91949468212bc59d17 100644
--- a/tracing/tracing/ui/analysis/single_power_sample_sub_view.html
+++ b/tracing/tracing/ui/analysis/single_power_sample_sub_view.html
@@ -103,7 +103,7 @@ Polymer({
},
updateContents_: function() {
- if (this.selection.length != 1)
+ if (this.selection.length !== 1)
throw 'Cannot pass multiple samples to sample table.';
this.$.samplesTable.sample = tr.b.getOnlyElement(this.selection);
}

Powered by Google App Engine
This is Rietveld 408576698