Fixing comment in nsMemoryImpl.cpp

This commit is contained in:
Doug Turner 2009-12-01 12:29:55 -08:00
parent edc6925e37
commit 22bb3ebf84

View File

@ -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);