Backed out changeset 7dc407aa7123

This commit is contained in:
Marco Bonardo 2010-09-09 13:28:01 +02:00
parent 42be3ca601
commit e652b11f4e

View File

@ -687,8 +687,8 @@ nsDOMStorage::InitAsLocalStorage(nsIPrincipal *aPrincipal, const nsSubstring &aD
if (NS_SUCCEEDED(aPrincipal->GetURI(getter_AddRefs(URI))) && URI) {
PRBool isAbout;
mCanUseChromePersist =
(NS_SUCCEEDED(URI->SchemeIs("moz-safe-about", &isAbout)) && isAbout) ||
(NS_SUCCEEDED(URI->SchemeIs("about", &isAbout)) && isAbout);
(NS_SUCCEEDED(URI->SchemeIs("moz-safe-about", &isAbout) && isAbout)) ||
(NS_SUCCEEDED(URI->SchemeIs("about", &isAbout), && isAbout));
}
return NS_OK;