Remove assert which is failing.
authorscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Jul 2013 20:14:45 +0000 (20:14 +0000)
committerscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Jul 2013 20:14:45 +0000 (20:14 +0000)
Unreviewed.

git-svn-id: http://skia.googlecode.com/svn/trunk@10165 2bbb7eff-a529-9590-31e7-b0007b416f81

src/images/SkImageDecoder_libpng.cpp

index 4c44b91..85e803b 100644 (file)
@@ -522,7 +522,8 @@ bool SkPNGImageDecoder::getBitmapConfig(png_structp png_ptr, png_infop info_ptr,
         SrcDepth srcDepth = k32Bit_SrcDepth;
         if (PNG_COLOR_TYPE_GRAY == colorType) {
             srcDepth = k8BitGray_SrcDepth;
-            SkASSERT(!*hasAlphap);
+            // Remove this assert, which fails on desk_pokemonwiki.skp
+            //SkASSERT(!*hasAlphap);
         }
 
         *configp = this->getPrefConfig(srcDepth, *hasAlphap);