Bug 673417. imglib: remove mLoadTime. r=joe
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Fri, 05 Aug 2011 17:04:36 -0400
changeset 73926 39d0aea0cbcd316decfecf9a60020295ffe771f7
parent 73925 d5db87177940e051688f289f9f76807fc90d87d3
child 73927 bae3e43a51730b52db124a810f117e1e24f7fb9f
push id20926
push usermak77@bonardo.net
push dateSat, 06 Aug 2011 09:36:25 +0000
treeherdermozilla-central@ba21778fcc14 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjoe
bugs673417
milestone8.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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.
modules/libpr0n/src/imgRequest.h
--- 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;