mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
Bug 522060 - Increase IsLowMemory threshold WINCE only. r=blassey
--HG-- extra : rebase_source : 378b456f1770bc1960fc8e1416272068f3b9f921
This commit is contained in:
parent
9c53d68e4b
commit
1b31380cc9
@ -118,7 +118,7 @@ nsMemoryImpl::IsLowMemory(PRBool *result)
|
||||
#if defined(WINCE)
|
||||
MEMORYSTATUS stat;
|
||||
GlobalMemoryStatus(&stat);
|
||||
*result = (stat.dwMemoryLoad >= 80);
|
||||
*result = (stat.dwMemoryLoad >= 98);
|
||||
#elif defined(XP_WIN)
|
||||
MEMORYSTATUSEX stat;
|
||||
stat.dwLength = sizeof stat;
|
||||
|
Loading…
x
Reference in New Issue
Block a user