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

Unified Diff: dm/DM.cpp

Issue 798383003: Add more filetypes to DM's image tests. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add commas Created 6 years 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 | no next file » | 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 bda9995e35d20cfec908a126b7b2a30c62bacd0c..047b8d6a50e3e1a26fe29ae0a8823ccbc3f0eacc 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -249,7 +249,10 @@ int dm_main() {
SkTArray<SkString> images;
if (!FLAGS_images.isEmpty()) {
- const char* suffixes[] = { "bmp", "gif", "jpg", "png", "webp", "ktx", "astc" };
+ const char* suffixes[] = {
+ "bmp", "gif", "jpg", "jpeg", "png", "webp", "ktx", "astc", "wbmp", "ico",
+ "BMP", "GIF", "JPG", "JPEG", "PNG", "WEBP", "KTX", "ASTC", "WBMP", "ICO",
+ };
find_files(FLAGS_images[0], suffixes, SK_ARRAY_COUNT(suffixes), &images);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698