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

Unified Diff: tracing/tracing/extras/chrome/cc/util.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/extras/chrome/cc/util.html
diff --git a/tracing/tracing/extras/chrome/cc/util.html b/tracing/tracing/extras/chrome/cc/util.html
index a0ce47245ed75d6aa9e2a00becd91a32740f045e..a8689fe0d6d8505a97ebffc7e10e88227c7bd66d 100644
--- a/tracing/tracing/extras/chrome/cc/util.html
+++ b/tracing/tracing/extras/chrome/cc/util.html
@@ -18,14 +18,14 @@ tr.exportTo('tr.e.cc', function() {
if (name in convertedNameCache)
return convertedNameCache[name];
- if (name[0] == '_' ||
- name[name.length - 1] == '_') {
+ if (name[0] === '_' ||
+ name[name.length - 1] === '_') {
convertedNameCache[name] = name;
return name;
}
var words = name.split('_');
- if (words.length == 1) {
+ if (words.length === 1) {
convertedNameCache[name] = words[0];
return words[0];
}
@@ -104,7 +104,7 @@ tr.exportTo('tr.e.cc', function() {
for (var key in object) {
var newKey = convertNameToJSConvention(key);
- if (newKey != key) {
+ if (newKey !== key) {
var value = object[key];
delete object[key];
object[newKey] = value;
« no previous file with comments | « tracing/tracing/extras/chrome/cc/tile.html ('k') | tracing/tracing/extras/chrome/chrome_user_friendly_category_driver.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698