mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 271313 - nsMemory::HeapMinimize crashes r=darin (regression introduced in bug 267767
This commit is contained in:
parent
fd060f4ede
commit
ab83401377
@ -230,10 +230,10 @@ nsMemoryImpl::IsLowMemory(PRBool *result)
|
|||||||
nsresult
|
nsresult
|
||||||
nsMemoryImpl::Startup()
|
nsMemoryImpl::Startup()
|
||||||
{
|
{
|
||||||
#ifdef NS_MEMORY_FLUSHER_THREAD
|
|
||||||
sFlushLock = PR_NewLock();
|
sFlushLock = PR_NewLock();
|
||||||
if (!sFlushLock) return NS_ERROR_FAILURE;
|
if (!sFlushLock) return NS_ERROR_FAILURE;
|
||||||
|
|
||||||
|
#ifdef NS_MEMORY_FLUSHER_THREAD
|
||||||
return sGlobalMemoryFlusher.Init();
|
return sGlobalMemoryFlusher.Init();
|
||||||
#else
|
#else
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user