mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 859158 - Remove unneeded ifdef DEBUG_joe. r=joedrew
This commit is contained in:
parent
eee3badd19
commit
bedfab1d62
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user