mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 12:07:52 +00:00
Now that we can read in the localstore, don't hide failure to read it in any more.
This commit is contained in:
parent
f612d2d5a1
commit
b19e9b2e82
@ -206,13 +206,15 @@ NS_NewLocalStore(nsILocalStore** aResult)
|
||||
// We need to read this synchronously.
|
||||
rv = impl->Refresh(PR_TRUE);
|
||||
|
||||
#if 0
|
||||
// XXX for the moment, ignore any refresh errors
|
||||
if (NS_FAILED(rv)) {
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("\n\nRDF: NS_NewLocalStore::Refresh() failed.\n\n");
|
||||
#endif
|
||||
|
||||
delete impl;
|
||||
return rv;
|
||||
}
|
||||
#endif
|
||||
|
||||
NS_ADDREF(impl);
|
||||
*aResult = impl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user