From 64df44a8f902ba38e8a0b9261a71ea741d7f69c2 Mon Sep 17 00:00:00 2001 From: "saari%netscape.com" Date: Thu, 15 Feb 2001 22:02:43 +0000 Subject: [PATCH] updated Mac build with new API git-svn-id: svn://10.0.0.236/branches/IMGLIB2_20010126_BRANCH@87138 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx2/src/mac/nsImageContainer.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mozilla/gfx2/src/mac/nsImageContainer.cpp b/mozilla/gfx2/src/mac/nsImageContainer.cpp index a35a26dc416..d4d58c1e180 100644 --- a/mozilla/gfx2/src/mac/nsImageContainer.cpp +++ b/mozilla/gfx2/src/mac/nsImageContainer.cpp @@ -54,6 +54,13 @@ NS_IMETHODIMP nsImageContainer::Init(nscoord aWidth, nscoord aHeight) return NS_OK; } +/* readonly attribute gfx_format preferredAlphaChannelFormat; */ +NS_IMETHODIMP nsImageContainer::GetPreferredAlphaChannelFormat(gfx_format *aFormat) +{ + *aFormat = nsIGFXFormat::RGB_A8; + return NS_OK; +} + /* readonly attribute nscoord width; */ NS_IMETHODIMP nsImageContainer::GetWidth(nscoord *aWidth) {