| 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;
|
|
|