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

Unified Diff: tracing/tracing/metrics/system_health/power_metric.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/metrics/compare_samples_cmdline.html ('k') | tracing/tracing/metrics/v8/utils.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/metrics/system_health/power_metric.html
diff --git a/tracing/tracing/metrics/system_health/power_metric.html b/tracing/tracing/metrics/system_health/power_metric.html
index 61ba56dfa7c9edde8d73d4da24db73def25878ce..f449cbb1bef7bbac608bb8f41bf4192976c377f9 100644
--- a/tracing/tracing/metrics/system_health/power_metric.html
+++ b/tracing/tracing/metrics/system_health/power_metric.html
@@ -246,7 +246,7 @@ tr.exportTo('tr.metrics.sh', function() {
var loadData = getPowerData_(model, interval.min, interval.max);
storePowerData_(loadData, hists.loadTimeHist, hists.loadEnergyHist,
undefined);
- lastLoadTime = (lastLoadTime == undefined ? interval.max :
+ lastLoadTime = (lastLoadTime === undefined ? interval.max :
Math.max(lastLoadTime, interval.max));
}
if (lastLoadTime !== undefined) {
« no previous file with comments | « tracing/tracing/metrics/compare_samples_cmdline.html ('k') | tracing/tracing/metrics/v8/utils.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698