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

Unified Diff: dm/DM.cpp

Issue 1076923002: SkJpegCodec (Closed) Base URL: https://skia.googlesource.com/skia.git@gif-real
Patch Set: Added comment Created 5 years, 8 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') | no next file with comments »
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 2a71500605bef7ddbc7fafa9f45b8f4bd014dfc6..01da522f868ebc585175f9d2650baed0f11e36b6 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -222,8 +222,8 @@ static bool codec_supported(const char* ext) {
// FIXME: Once other versions of SkCodec are available, we can add them to this
// list (and eventually we can remove this check once they are all supported).
static const char* const exts[] = {
- "bmp", "gif", "png", "ico", "wbmp",
- "BMP", "GIF", "PNG", "ICO", "WBMP"
+ "bmp", "gif", "jpg", "jpeg", "png", "ico", "wbmp",
+ "BMP", "GIF", "JPG", "JPEG", "PNG", "ICO", "WBMP"
};
for (uint32_t i = 0; i < SK_ARRAY_COUNT(exts); i++) {
« no previous file with comments | « no previous file | dm/DMSrcSink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698