From bedfab1d62a8ff6fd53d05a27ade9c2a743462e9 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Fri, 12 Apr 2013 16:25:04 -0400 Subject: [PATCH] Bug 859158 - Remove unneeded ifdef DEBUG_joe. r=joedrew --- image/src/imgRequest.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/image/src/imgRequest.cpp b/image/src/imgRequest.cpp index 2ce3e9e38f3c..c2932c18d752 100644 --- a/image/src/imgRequest.cpp +++ b/image/src/imgRequest.cpp @@ -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)