Bug 1139804 (Part 6) - Make imgRequest no longer friends with ProgressTracker. r=baku
authorSeth Fowler <seth@mozilla.com>
Mon, 23 Mar 2015 19:37:45 -0700
changeset 264079 165b9f6bb984c873811c181a553876e4c6336f6e
parent 264078 e488bdbe1bc8496358d83afdcae14942e0e29ea6
child 264080 29219668983e3112203d32d913bd4ece318bf187
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
bugs1139804
milestone39.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 1139804 (Part 6) - Make imgRequest no longer friends with ProgressTracker. r=baku
image/src/imgRequest.h
--- a/image/src/imgRequest.h
+++ b/image/src/imgRequest.h
@@ -186,18 +186,16 @@ public:
   void EvictFromCache();
   void RemoveFromCache();
 
   nsIProperties* Properties() const { return mProperties; }
 
   bool HasConsumers() const;
 
 private:
-  friend class mozilla::image::ProgressTracker;
-
   void Cancel(nsresult aStatus);
 
   // Update the cache entry size based on the image container.
   void UpdateCacheEntrySize();
 
   /// Returns true if RequestDecode() was called.
   bool IsDecodeRequested() const;