Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index a5c3ca11c8aaf8514b7091adee2ac5bcf0f14b29..c7cc3f0239ba96256eb82edaa87605ba959a795a 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -609,7 +609,7 @@ public: |
static bool ReadPicture(const char* path, SkAutoTUnref<SkPicture>* pic) { |
// Not strictly necessary, as it will be checked again later, |
// but helps to avoid a lot of pointless work if we're going to skip it. |
- if (SkCommandLineFlags::ShouldSkip(FLAGS_match, path)) { |
+ if (SkCommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { |
Chris Dalton
2016/02/17 18:21:36
I can think of a more elaborate fix if we want to
|
return false; |
} |