aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-03-27 12:16:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-27 12:16:53 -0700
commita096d7a6d03662073f4cd46f7db5fe2cf5495c36 (patch)
treedcaf6ab6002e37a9525a82101ac640f2ead1bf46 /dm
parent135b7ecaa81018aa497da6ef8a8493263df456ef (diff)
SkCodec: add wbmp class
Diffstat (limited to 'dm')
-rw-r--r--dm/DM.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 870b371cc4..84b49dc170 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -155,7 +155,8 @@ static bool codec_supported(const char* ext) {
// list (and eventually we can remove this check once they are all supported).
return strcmp(ext, "png") == 0 || strcmp(ext, "PNG") == 0 ||
strcmp(ext, "bmp") == 0 || strcmp(ext, "BMP") == 0 ||
- strcmp(ext, "ico") == 0 || strcmp(ext, "ICO") == 0;
+ strcmp(ext, "ico") == 0 || strcmp(ext, "ICO") == 0 ||
+ strcmp(ext, "wbmp") == 0 || strcmp(ext, "WBMP") == 0;
}
static void gather_srcs() {