Bug 1186783 (follow-up) - Bustage fix for Gonk.

This commit is contained in:
Nicholas Nethercote 2015-11-29 15:25:32 -08:00
parent fc3ed84c27
commit 61111bc3ae

View File

@ -1490,8 +1490,8 @@ nsIOService::Observe(nsISupports *subject,
nsIAppOfflineInfo::ONLINE : nsIAppOfflineInfo::OFFLINE;
for (auto it = mAppsOfflineStatus.Iter(); !it.Done(); it.Next()) {
if (iter.UserData() == nsIAppOfflineInfo::WIFI_ONLY) {
NotifyAppOfflineStatus(iter.Key(), status);
if (it.UserData() == nsIAppOfflineInfo::WIFI_ONLY) {
NotifyAppOfflineStatus(it.Key(), status);
}
}
}