From da4af24c9c52a80a0c9b4fbd2933f5939920c98c Mon Sep 17 00:00:00 2001 From: "epoger@google.com" Date: Mon, 25 Jun 2012 18:45:50 +0000 Subject: [PATCH] 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 --- tools/skdiff_main.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/skdiff_main.cpp b/tools/skdiff_main.cpp index c0541d980..3ff7c25eb 100644 --- a/tools/skdiff_main.cpp +++ b/tools/skdiff_main.cpp @@ -1146,12 +1146,8 @@ int main (int argc, char ** argv) { 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("")); }