mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 15:51:33 +00:00
Fixing comment in nsMemoryImpl.cpp
This commit is contained in:
parent
edc6925e37
commit
22bb3ebf84
@ -129,8 +129,6 @@ nsMemoryImpl::IsLowMemory(PRBool *result)
|
||||
*result = (stat.ullAvailPageFile < kRequiredMemory) &&
|
||||
((float)stat.ullAvailPageFile / stat.ullTotalPageFile) < 0.1;
|
||||
#elif defined(NS_OSSO)
|
||||
// We see about 1/4 of the cost by caching the fd and using
|
||||
// rewind. XXX leaking this fd.
|
||||
static int osso_highmark_fd = -1;
|
||||
if (osso_highmark_fd == -1) {
|
||||
osso_highmark_fd = open (kHighMark, O_RDONLY);
|
||||
|
Loading…
x
Reference in New Issue
Block a user