From 164d5b09b79e4794911a5a4ffb02f4a12f1f0c94 Mon Sep 17 00:00:00 2001 From: msarett Date: Tue, 14 Apr 2015 05:37:36 -0700 Subject: Fixing use of initialized memory. Disabling scanline decoding to kIndex8 until it can be implemented. BUG=skia:3715 Review URL: https://codereview.chromium.org/1082923002 --- dm/DM.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dm') diff --git a/dm/DM.cpp b/dm/DM.cpp index 2a71500605..e66584803d 100644 --- 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 -- cgit v1.2.3