diff --git a/mozilla/layout/generic/nsImageFrame.h b/mozilla/layout/generic/nsImageFrame.h index 5f5a235ff6b..98624f05d09 100644 --- a/mozilla/layout/generic/nsImageFrame.h +++ b/mozilla/layout/generic/nsImageFrame.h @@ -267,10 +267,13 @@ private: PRBool HandleIconLoads(imgIRequest* aRequest, PRBool aCompleted); void InvalidateIcon(nsIPresContext *aPresContext); + // SingleIconLoad needs to not be private to be accessible by IconLoad +protected: struct SingleIconLoad { nsCOMPtr mRequest; }; +private: class IconLoad { // private class that wraps the data and logic needed for // broken image and loading image icons diff --git a/mozilla/layout/html/base/src/nsImageFrame.h b/mozilla/layout/html/base/src/nsImageFrame.h index 5f5a235ff6b..98624f05d09 100644 --- a/mozilla/layout/html/base/src/nsImageFrame.h +++ b/mozilla/layout/html/base/src/nsImageFrame.h @@ -267,10 +267,13 @@ private: PRBool HandleIconLoads(imgIRequest* aRequest, PRBool aCompleted); void InvalidateIcon(nsIPresContext *aPresContext); + // SingleIconLoad needs to not be private to be accessible by IconLoad +protected: struct SingleIconLoad { nsCOMPtr mRequest; }; +private: class IconLoad { // private class that wraps the data and logic needed for // broken image and loading image icons