Bug 1230735 - AddonWatcher.alerts is now a map;r=Felipe

This commit is contained in:
David Rajchenbach-Teller
2015-12-14 22:57:13 +01:00
parent a4b0769dfe
commit e2e8fd3075

View File

@@ -568,8 +568,8 @@ var View = {
if (watcherAlerts) {
let deltaAlerts = watcherAlerts.get(delta.diff.addonId);
if (deltaAlerts) {
jankSuffix = ` (${deltaAlerts.alerts.longestDuration || 0} alerts)`;
cpowSuffix = ` (${deltaAlerts.alerts.totalCPOWTime || 0} alerts)`;
jankSuffix = ` (${deltaAlerts.get("longestDuration") || 0} alerts)`;
cpowSuffix = ` (${deltaAlerts.get("totalCPOWTime") || 0} alerts)`;
}
}