From 8fb601c4a96cd7fdfd017ccab51b7a4edbb35beb Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Thu, 16 Jul 1998 04:51:12 +0000 Subject: [PATCH] Changed background color to be a const --- gfx/src/nsIImageGroup.h | 2 +- gfx/src/nsImageGroup.cpp | 4 ++-- gfx/src/nsImageRequest.cpp | 2 +- gfx/src/nsImageRequest.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gfx/src/nsIImageGroup.h b/gfx/src/nsIImageGroup.h index da109f5152a..8a9ce1e1d83 100644 --- a/gfx/src/nsIImageGroup.h +++ b/gfx/src/nsIImageGroup.h @@ -99,7 +99,7 @@ public: */ virtual nsIImageRequest* GetImage(const char* aUrl, nsIImageRequestObserver *aObserver, - nscolor* aBackgroundColor, + const nscolor* aBackgroundColor, PRUint32 aWidth, PRUint32 aHeight, PRUint32 aFlags) = 0; diff --git a/gfx/src/nsImageGroup.cpp b/gfx/src/nsImageGroup.cpp index 7f0dadde801..dae972461f9 100644 --- a/gfx/src/nsImageGroup.cpp +++ b/gfx/src/nsImageGroup.cpp @@ -57,7 +57,7 @@ public: virtual nsIImageRequest* GetImage(const char* aUrl, nsIImageRequestObserver *aObserver, - nscolor* aBackgroundColor, + const nscolor* aBackgroundColor, PRUint32 aWidth, PRUint32 aHeight, PRUint32 aFlags); @@ -202,7 +202,7 @@ ImageGroupImpl::RemoveObserver(nsIImageGroupObserver *aObserver) nsIImageRequest* ImageGroupImpl::GetImage(const char* aUrl, nsIImageRequestObserver *aObserver, - nscolor* aBackgroundColor, + const nscolor* aBackgroundColor, PRUint32 aWidth, PRUint32 aHeight, PRUint32 aFlags) { diff --git a/gfx/src/nsImageRequest.cpp b/gfx/src/nsImageRequest.cpp index c1fde508bdd..22cbd33d506 100644 --- a/gfx/src/nsImageRequest.cpp +++ b/gfx/src/nsImageRequest.cpp @@ -45,7 +45,7 @@ nsresult ImageRequestImpl::Init(IL_GroupContext *aGroupContext, const char* aUrl, nsIImageRequestObserver *aObserver, - nscolor* aBackgroundColor, + const nscolor* aBackgroundColor, PRUint32 aWidth, PRUint32 aHeight, PRUint32 aFlags) { diff --git a/gfx/src/nsImageRequest.h b/gfx/src/nsImageRequest.h index 86069aef804..31030263e1d 100644 --- a/gfx/src/nsImageRequest.h +++ b/gfx/src/nsImageRequest.h @@ -34,7 +34,7 @@ public: nsresult Init(IL_GroupContext *aGroupContext, const char* aUrl, nsIImageRequestObserver *aObserver, - nscolor* aBackgroundColor, + const nscolor* aBackgroundColor, PRUint32 aWidth, PRUint32 aHeight, PRUint32 aFlags);