Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Unified Diff: dm/DM.cpp

Issue 1006583005: SkCodec: add wbmp class (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | dm/DMSrcSink.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 86a75983e3f989f31e65838905a4bc438e9bda67..5de2fd645df1de431ebafab6fb81abe114e1387a 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() {
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | dm/DMSrcSink.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698