Bug 1250141 - Remove NS_WARN_IF after AppendOriginNoSuffix in DOMStorageManager::CheckStorage, r=ehsan

This commit is contained in:
Honza Bambas 2016-02-24 22:27:09 -08:00
parent b0963a2543
commit a4b065f6fe

View File

@ -451,7 +451,7 @@ DOMStorageManager::CheckStorage(nsIPrincipal* aPrincipal,
nsAutoCString origin;
rv = AppendOriginNoSuffix(aPrincipal, origin);
if (NS_WARN_IF(NS_FAILED(rv))) {
if (NS_FAILED(rv)) {
return rv;
}