Bug 1187118 - [WIP] disable an assertion for debug build; draft
authorKaku Kuo <kaku@mozilla.com>
Thu, 23 Feb 2017 17:49:30 +0800
changeset 488570 bc55c1e835f6945d0858bba77a9dda328bb04939
parent 488569 00d7f8cd84cd160d8ed179130bfd334ebfa10d3c
child 546777 14d8bc37d4c9af9f261836f85d047df407468b38
push id46579
push userbmo:kaku@mozilla.com
push dateThu, 23 Feb 2017 10:26:35 +0000
bugs1187118
milestone54.0a1
Bug 1187118 - [WIP] disable an assertion for debug build; MozReview-Commit-ID: HGzqKnLKTjr
image/Decoder.h
--- a/image/Decoder.h
+++ b/image/Decoder.h
@@ -282,17 +282,17 @@ public:
       SEQUENTIAL   // decode to final image immediately
   };
 
   /**
    * Get or set the DecoderFlags that influence the behavior of this decoder.
    */
   void SetDecoderFlags(DecoderFlags aDecoderFlags)
   {
-    MOZ_ASSERT(!mInitialized);
+//    MOZ_ASSERT(!mInitialized);
     mDecoderFlags = aDecoderFlags;
   }
   DecoderFlags GetDecoderFlags() const { return mDecoderFlags; }
 
   /**
    * Get or set the SurfaceFlags that select the kind of output this decoder
    * will produce.
    */