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

Unified Diff: tracing/tracing/model/helpers/android_surface_flinger.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/android_surface_flinger.html
diff --git a/tracing/tracing/model/helpers/android_surface_flinger.html b/tracing/tracing/model/helpers/android_surface_flinger.html
index 3cef85bd02f8ced5c31c54df732cdb9c85fa8961..2a71afec94bbf2792c92789148f92a244410b158 100644
--- a/tracing/tracing/model/helpers/android_surface_flinger.html
+++ b/tracing/tracing/model/helpers/android_surface_flinger.html
@@ -30,7 +30,7 @@ tr.exportTo('tr.model.helpers', function() {
if (!vsync)
vsync = process.counters[VSYNC_FALLBACK_NAME];
- if (vsync && vsync.numSeries == 1 && vsync.numSamples > 1)
+ if (vsync && vsync.numSeries === 1 && vsync.numSamples > 1)
return vsync.series[0].timestamps;
return undefined;
}
@@ -53,7 +53,7 @@ tr.exportTo('tr.model.helpers', function() {
this.deadlineDelayMs_ =
this.appVsyncTimestamps_ !== this.sfVsyncTimestamps_ ?
5 : TIMESTAMP_FUDGE_MS;
- };
+ }
AndroidSurfaceFlinger.createForProcessIfPossible = function(process) {
var mainThread = process.getThread(process.pid);
@@ -65,7 +65,7 @@ tr.exportTo('tr.model.helpers', function() {
// older versions - another thread is named SurfaceFlinger
var primaryThreads = process.findAllThreadsNamed('SurfaceFlinger');
- if (primaryThreads.length == 1)
+ if (primaryThreads.length === 1)
return new AndroidSurfaceFlinger(process, primaryThreads[0]);
return undefined;
};
« no previous file with comments | « tracing/tracing/model/helpers/android_app.html ('k') | tracing/tracing/model/helpers/chrome_browser_helper.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698