Fix bustage caused by 91493f716bdf

This commit is contained in:
Olli Pettay 2008-09-12 15:13:10 +03:00
parent 88ad30e7a8
commit bb4cac6ed5

View File

@ -1596,7 +1596,7 @@ nsCacheService::SetMemoryCache()
if (gService->mEnableMemoryDevice) {
if (gService->mMemoryDevice) {
PRInt32 capacity = mObserver->MemoryCacheCapacity();
PRInt32 capacity = gService->mObserver->MemoryCacheCapacity();
// make sure that capacity is reset to the right value
CACHE_LOG_DEBUG(("Resetting memory device capacity to %d\n",
capacity));