Bug 1089778 - ServiceWorkerManager NS_WARN_IF compiler error. a=bustage

This commit is contained in:
Nikhil Marathe 2015-01-23 11:53:23 -08:00
parent e4cf95ba8f
commit 444e443a46

View File

@ -1769,7 +1769,9 @@ ServiceWorkerManager::FireEventOnServiceWorkerRegistrations(
NS_ConvertUTF16toUTF8 utf8Scope(regScope);
if (utf8Scope.Equals(aRegistration->mScope)) {
nsresult rv = target->DispatchTrustedEvent(aName);
NS_WARN_IF(NS_FAILED(rv));
if (NS_WARN_IF(NS_FAILED(rv))) {
// Warn only.
}
}
}
}