Bug 859158 - Remove unneeded ifdef DEBUG_joe. r=joedrew

This commit is contained in:
Luis de Bethencourt 2013-04-12 16:25:04 -04:00
parent eee3badd19
commit bedfab1d62

View File

@ -337,15 +337,8 @@ void imgRequest::SetIsInCache(bool incache)
void imgRequest::UpdateCacheEntrySize()
{
if (mCacheEntry) {
if (mCacheEntry)
mCacheEntry->SetDataSize(mImage->SizeOfData());
#ifdef DEBUG_joe
nsAutoCString url;
mURI->GetSpec(url);
printf("CACHEPUT: %d %s %d\n", time(NULL), url.get(), imageSize);
#endif
}
}
void imgRequest::SetCacheValidation(imgCacheEntry* aCacheEntry, nsIRequest* aRequest)