Bug 812602 - Don't use the DecodeStyle enum namespace, since it doesn't actually exist. r=jrmuizel
authorJoe Drew <joe@drew.ca>
Tue, 20 Nov 2012 14:27:39 -0500
changeset 113804 1b8b5ca28225f5a3e78d8e48e8e931753b622249
parent 113803 51d2b0ccc4b5de0de6d3dba263539064040228a0
child 113805 8f847258636a7f8e40d3826ce2dc09c083f55ad8
push id18397
push userjdrew@mozilla.com
push dateTue, 20 Nov 2012 19:28:16 +0000
treeherdermozilla-inbound@1b8b5ca28225 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs812602
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 812602 - Don't use the DecodeStyle enum namespace, since it doesn't actually exist. r=jrmuizel
image/src/RasterImage.cpp
--- a/image/src/RasterImage.cpp
+++ b/image/src/RasterImage.cpp
@@ -2520,18 +2520,18 @@ RasterImage::InitDecoder(bool aDoSizeDec
       break;
     case eDecoderType_gif:
       mDecoder = new nsGIFDecoder2(*this, observer);
       break;
     case eDecoderType_jpeg:
       // 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);
       break;
     case eDecoderType_ico:
       mDecoder = new nsICODecoder(*this, observer);
       break;
     case eDecoderType_icon: