bug 333253. disabling icon decoder in cairo until proper fix can go in.

This commit is contained in:
pavlov%pavlov.net 2006-11-28 03:08:43 +00:00
parent 70cb3b553d
commit 195cfecbbe

View File

@ -145,6 +145,8 @@ NS_IMETHODIMP nsIconDecoder::WriteFrom(nsIInputStream *inStr, PRUint32 count, PR
PRInt32 rownum;
#if defined(MOZ_CAIRO_GFX)
return NS_ERROR_FAILURE; // this code is totally busted.. fixing shortly.
PRUint8 *row = (PRUint8*)malloc(bpr);
PRUint8 *adata = data + (bpr * height);
for (rownum = 0; rownum < height; ++rownum, data += bpr) {