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

Unified Diff: tracing/tracing/extras/importer/android/event_log_importer.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/importer/android/event_log_importer.html
diff --git a/tracing/tracing/extras/importer/android/event_log_importer.html b/tracing/tracing/extras/importer/android/event_log_importer.html
index df71ba880774c102d548a3807ade0a885863841a..af24ea1cbbcfed424fb2a77dc0f807083e4e7975 100644
--- a/tracing/tracing/extras/importer/android/event_log_importer.html
+++ b/tracing/tracing/extras/importer/android/event_log_importer.html
@@ -275,7 +275,7 @@ tr.exportTo('tr.e.importer.android', function() {
this.getFullActivityName(match[1]), match[2]);
} else if (action === 'am_destroy_activity') {
match = amDestroyRE.exec(data);
- if (match && match.length == 2) {
+ if (match && match.length === 2) {
this.handleDestroyActivity(monotonicTs,
this.getFullActivityName(match[1]));
}
@@ -303,7 +303,7 @@ tr.exportTo('tr.e.importer.android', function() {
for (var activityName in activityMap) {
var activity = activityMap[activityName];
// If we're still in the foreground, store the activity anyway
- if (activity.state == ACTIVITY_STATE.RESUMED) {
+ if (activity.state === ACTIVITY_STATE.RESUMED) {
// Set the pause timestamp to the end of the model bounds
activity.lastPauseTs = this.model_.bounds.max;
this.addActivityToProcess(activity);
« no previous file with comments | « tracing/tracing/extras/chrome/gpu/gpu_async_slice.html ('k') | tracing/tracing/extras/importer/ddms_importer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698