Fixing use of initialized memory.
authormsarett <msarett@google.com>
Tue, 14 Apr 2015 12:37:36 +0000 (05:37 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Apr 2015 12:37:36 +0000 (05:37 -0700)
Disabling scanline decoding to kIndex8 until it can be implemented.

BUG=skia:3715

Review URL: https://codereview.chromium.org/1082923002

dm/DM.cpp

index 2a71500..e665848 100644 (file)
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -203,8 +203,9 @@ static void push_codec_srcs(Path path) {
       case kIndex_8_SkColorType:
           push_src("image", "codec kIndex8", new CodecSrc(path, CodecSrc::kNormal_Mode,
                   CodecSrc::kIndex8_Always_DstColorType));
-          push_src("image", "scanline kIndex8", new CodecSrc(path, CodecSrc::kScanline_Mode,
-                  CodecSrc::kIndex8_Always_DstColorType));
+          // FIXME: Need to implement scanline decoding for kIndex8.
+          //push_src("image", "scanline kIndex8", new CodecSrc(path, CodecSrc::kScanline_Mode,
+          //        CodecSrc::kIndex8_Always_DstColorType));
         break;
       default:
         // Do nothing