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

Unified Diff: tracing/tracing/model/helpers/chrome_browser_helper.html

Issue 2390373003: Change all == to === and != to !== in trace viewer. (Closed)
Patch Set: more changes from code review 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/model/helpers/chrome_browser_helper.html
diff --git a/tracing/tracing/model/helpers/chrome_browser_helper.html b/tracing/tracing/model/helpers/chrome_browser_helper.html
index 9daa346888a7afdfc60263c156c66051eece738e..d958d69f4d1b58823e70582ab2f3647051d7e110 100644
--- a/tracing/tracing/model/helpers/chrome_browser_helper.html
+++ b/tracing/tracing/model/helpers/chrome_browser_helper.html
@@ -95,9 +95,9 @@ tr.exportTo('tr.model.helpers', function() {
this.modelHelper.model.getAllThreads().forEach(function(thread) {
thread.asyncSliceGroup.slices.forEach(function(slice) {
var match = false;
- if (slice.category == 'net' || // old-style URLRequest/Resource
- slice.category == 'disabled-by-default-netlog' ||
- slice.category == 'netlog') {
+ if (slice.category === 'net' || // old-style URLRequest/Resource
+ slice.category === 'disabled-by-default-netlog' ||
+ slice.category === 'netlog') {
match = true;
}
« no previous file with comments | « tracing/tracing/model/helpers/android_surface_flinger.html ('k') | tracing/tracing/model/helpers/chrome_renderer_helper.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698