Index: src/codec/SkCodec.cpp |
diff --git a/src/codec/SkCodec.cpp b/src/codec/SkCodec.cpp |
index c4adf729e41975969aba4ea01fd09c7306652e1b..93db0e58eec0aea9c0b4d80354b671f1c80a225b 100644 |
--- a/src/codec/SkCodec.cpp |
+++ b/src/codec/SkCodec.cpp |
@@ -15,6 +15,7 @@ |
#include "SkCodecPriv.h" |
#include "SkJpegCodec.h" |
#include "SkStream.h" |
+#include "SkWebpCodec.h" |
struct DecoderProc { |
bool (*IsFormat)(SkStream*); |
@@ -24,6 +25,7 @@ struct DecoderProc { |
static const DecoderProc gDecoderProcs[] = { |
{ SkPngCodec::IsPng, SkPngCodec::NewFromStream }, |
{ SkJpegCodec::IsJpeg, SkJpegCodec::NewFromStream }, |
+ { SkWebpCodec::IsWebp, SkWebpCodec::NewFromStream }, |
{ SkGifCodec::IsGif, SkGifCodec::NewFromStream }, |
{ SkIcoCodec::IsIco, SkIcoCodec::NewFromStream }, |
{ SkBmpCodec::IsBmp, SkBmpCodec::NewFromStream }, |