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

Unified Diff: tracing/tracing/model/event_set.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
« no previous file with comments | « tracing/tracing/model/cpu_test.html ('k') | tracing/tracing/model/helpers/android_app.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/event_set.html
diff --git a/tracing/tracing/model/event_set.html b/tracing/tracing/model/event_set.html
index c428e3e56ac3469dde5f16e3e27e5f84a442ecff..344f524fa02f3dfe1bdffae19f63a3f559d6f656 100644
--- a/tracing/tracing/model/event_set.html
+++ b/tracing/tracing/model/event_set.html
@@ -75,7 +75,7 @@ tr.exportTo('tr.model', function() {
// push pushes only unique events.
// If an event has been already pushed, do nothing.
push: function(event) {
- if (event.guid == undefined)
+ if (event.guid === undefined)
throw new Error('Event must have a GUID');
if (!this.events_.has(event)) {
@@ -139,7 +139,7 @@ tr.exportTo('tr.model', function() {
}
});
- if (maxEventIndex == -1) {
+ if (maxEventIndex === -1) {
console.log(event);
throw new Error('Unrecognized event type');
}
« no previous file with comments | « tracing/tracing/model/cpu_test.html ('k') | tracing/tracing/model/helpers/android_app.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698