skdiff: no longer skip .pdf files by default
Review URL: https://codereview.appspot.com/6257080
git-svn-id: http://skia.googlecode.com/svn/trunk@4330 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/skdiff_main.cpp b/tools/skdiff_main.cpp
index c0541d9..3ff7c25 100644
--- a/tools/skdiff_main.cpp
+++ b/tools/skdiff_main.cpp
@@ -1146,12 +1146,8 @@
outputDir.set("");
}
- // Default substring matching:
- // - No matter what, don't match any PDF files.
- // We may want to change this later, but for now this maintains the filter
- // that get_file_list() used to always apply.
- // - If no matchSubstrings were specified, match ALL strings.
- nomatchSubstrings.push(new SkString(".pdf"));
+ // If no matchSubstrings were specified, match ALL strings
+ // (except for whatever nomatchSubstrings were specified, if any).
if (matchSubstrings.isEmpty()) {
matchSubstrings.push(new SkString(""));
}