Bug 812602 - Don't use the DecodeStyle enum namespace, since it doesn't actually exist. r=jrmuizel

--HG--
extra : rebase_source : ac71cc01359c39e275e8b12c44e7d4e5fb04a81b
This commit is contained in:
Joe Drew 2012-11-20 14:27:39 -05:00
parent 59f4d85c4e
commit 28e55e16c7

View File

@ -2525,8 +2525,8 @@ RasterImage::InitDecoder(bool aDoSizeDecode)
// If we have all the data we don't want to waste cpu time doing
// a progressive decode
mDecoder = new nsJPEGDecoder(*this, observer,
mHasBeenDecoded ? Decoder::DecodeStyle::SEQUENTIAL :
Decoder::DecodeStyle::PROGRESSIVE);
mHasBeenDecoded ? Decoder::SEQUENTIAL :
Decoder::PROGRESSIVE);
break;
case eDecoderType_bmp:
mDecoder = new nsBMPDecoder(*this, observer);