Bug 271313 - nsMemory::HeapMinimize crashes r=darin (regression introduced in bug 267767
git-svn-id: svn://10.0.0.236/trunk@165640 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c114c7276c
commit
adf71a12ee
@ -230,10 +230,10 @@ nsMemoryImpl::IsLowMemory(PRBool *result)
|
||||
nsresult
|
||||
nsMemoryImpl::Startup()
|
||||
{
|
||||
#ifdef NS_MEMORY_FLUSHER_THREAD
|
||||
sFlushLock = PR_NewLock();
|
||||
if (!sFlushLock) return NS_ERROR_FAILURE;
|
||||
|
||||
#ifdef NS_MEMORY_FLUSHER_THREAD
|
||||
return sGlobalMemoryFlusher.Init();
|
||||
#else
|
||||
return NS_OK;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user