diff --git a/mozilla/modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp b/mozilla/modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp index 35838a2aa96..b900b4167cc 100644 --- a/mozilla/modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp +++ b/mozilla/modules/libpr0n/decoders/jpeg/nsJPEGDecoder.cpp @@ -299,7 +299,7 @@ NS_IMETHODIMP nsJPEGDecoder::WriteFrom(nsIInputStream *inStr, PRUint32 count, PR } gfx_format format = gfxIFormats::RGB; -#if defined(XP_PC) || defined(XP_BEOS) || defined(MOZ_WIDGET_PHOTON) +#if defined(XP_PC) || defined(XP_BEOS) format = gfxIFormats::BGR; #endif