mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
bug 333253. disabling icon decoder in cairo until proper fix can go in.
This commit is contained in:
parent
70cb3b553d
commit
195cfecbbe
@ -145,6 +145,8 @@ NS_IMETHODIMP nsIconDecoder::WriteFrom(nsIInputStream *inStr, PRUint32 count, PR
|
|||||||
|
|
||||||
PRInt32 rownum;
|
PRInt32 rownum;
|
||||||
#if defined(MOZ_CAIRO_GFX)
|
#if defined(MOZ_CAIRO_GFX)
|
||||||
|
return NS_ERROR_FAILURE; // this code is totally busted.. fixing shortly.
|
||||||
|
|
||||||
PRUint8 *row = (PRUint8*)malloc(bpr);
|
PRUint8 *row = (PRUint8*)malloc(bpr);
|
||||||
PRUint8 *adata = data + (bpr * height);
|
PRUint8 *adata = data + (bpr * height);
|
||||||
for (rownum = 0; rownum < height; ++rownum, data += bpr) {
|
for (rownum = 0; rownum < height; ++rownum, data += bpr) {
|
||||||
|
Loading…
Reference in New Issue
Block a user