Bug 673417. imglib: remove mLoadTime. r=joe
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Fri, 05 Aug 2011 17:04:36 -0400
changeset 73928 39d0aea0cbcd316decfecf9a60020295ffe771f7
parent 73927 d5db87177940e051688f289f9f76807fc90d87d3
child 73929 bae3e43a51730b52db124a810f117e1e24f7fb9f
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
Bug 673417. imglib: remove mLoadTime. r=joe mLoadTime was added by stuart back in 2001. It hasn't as far as I can tell ever been used.
--- a/modules/libpr0n/src/imgRequest.h
+++ b/modules/libpr0n/src/imgRequest.h
@@ -154,17 +154,16 @@ private:
   friend class imgLoader;
   friend class imgCacheValidator;
   friend class imgStatusTracker;
   friend class imgCacheExpirationTracker;
   friend class imgRequestNotifyRunnable;
   inline void SetLoadId(void *aLoadId) {
     mLoadId = aLoadId;
-    mLoadTime = PR_Now();
   void Cancel(nsresult aStatus);
   void RemoveFromCache();
   nsresult GetURI(nsIURI **aURI);
   nsresult GetKeyURI(nsIURI **aURI);
   nsresult GetSecurityInfo(nsISupports **aSecurityInfo);
@@ -247,17 +246,16 @@ private:
   nsCString mContentType;
   nsRefPtr<imgCacheEntry> mCacheEntry; /* we hold on to this to this so long as we have observers */
   void *mCacheId;
   void *mLoadId;
-  PRTime mLoadTime;
   imgCacheValidator *mValidator;
   nsCategoryCache<nsIContentSniffer> mImageSniffers;
   nsCOMPtr<nsIAsyncVerifyRedirectCallback> mRedirectCallback;
   nsCOMPtr<nsIChannel> mNewRedirectChannel;
   // Originating outer window ID. Used for error reporting.
   PRUint64 mWindowId;