Bug 812602 - Don't use the DecodeStyle enum namespace, since it doesn't actually exist. r=jrmuizel,a=akeybl
authorJoe Drew <joe@drew.ca>
Tue, 20 Nov 2012 14:27:39 -0500
changeset 118550 c1e60736791cc2f0cbe053539e417cb7f6ebc4e7
parent 118549 832f71d67907dfbd8bda390d247350d74c84fcd7
child 118551 44107c5507f9e1ae3fcfc561db697caabed35432
push id2837
push usermh@glandium.org
push dateMon, 03 Dec 2012 07:35:33 +0000
treeherdermozilla-aurora@c1e60736791c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel, akeybl
bugs812602
milestone19.0a2
Bug 812602 - Don't use the DecodeStyle enum namespace, since it doesn't actually exist. r=jrmuizel,a=akeybl
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: