Bug 968461 - Fix imgStatusTracker.h to build with gcc 4.4. r=jdm, a=sledru
authorMike Hommey <mh@glandium.org>
Thu, 06 Feb 2014 07:07:18 +0900
changeset 176915 8607f5696d5ecd75f8b0aba33f97e51acd413a07
parent 176914 27c87dd103b40726efb1089f705477e0a3175586
child 176916 281f244bc05e48aca9df5629948f868251599c70
push id5199
push userryanvm@gmail.com
push dateFri, 07 Feb 2014 22:16:13 +0000
treeherdermozilla-aurora@8607f5696d5e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdm, sledru
bugs968461
milestone29.0a2
Bug 968461 - Fix imgStatusTracker.h to build with gcc 4.4. r=jdm, a=sledru
image/src/imgStatusTracker.h
--- a/image/src/imgStatusTracker.h
+++ b/image/src/imgStatusTracker.h
@@ -287,17 +287,17 @@ public:
   // Notify for the changes captured in an ImageStatusDiff. Because this may
   // result in recursive notifications, no decoding locks may be held.
   // Called on the main thread only.
   void SyncNotifyDifference(const mozilla::image::ImageStatusDiff& aDiff);
 
   nsIntRect GetInvalidRect() const { return mInvalidRect; }
 
 private:
-  typedef nsTObserverArray<mozilla::WeakPtr<imgRequestProxy>> ProxyArray;
+  typedef nsTObserverArray<mozilla::WeakPtr<imgRequestProxy> > ProxyArray;
   friend class imgStatusNotifyRunnable;
   friend class imgRequestNotifyRunnable;
   friend class imgStatusTrackerObserver;
   friend class imgStatusTrackerInit;
   imgStatusTracker(const imgStatusTracker& aOther);
 
   // Main thread only because it deals with the observer service.
   void FireFailureNotification();