aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-04-14 05:37:36 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-14 05:37:36 -0700
commit164d5b09b79e4794911a5a4ffb02f4a12f1f0c94 (patch)
tree615697ef0dafad58fa18bf3d297f240a32b48bab /dm
parent7ef63c85c5891ca59906e3c783a7f954be3f7f62 (diff)
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
Diffstat (limited to 'dm')
-rw-r--r--dm/DM.cpp5
1 files changed, 3 insertions, 2 deletions
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