Index: tools/bench_pictures_main.cpp |
diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp |
index b79dfedff230f1eb0f799c3db1e51fce6d3ac3d8..4d4116db011b67c940463e39376e8a1b0ddd5ccf 100644 |
--- a/tools/bench_pictures_main.cpp |
+++ b/tools/bench_pictures_main.cpp |
@@ -191,8 +191,7 @@ static bool run_single_benchmark(const SkString& inputPath, |
return false; |
} |
- SkString filename; |
- sk_tools::get_basename(&filename, inputPath); |
+ SkString filename = SkOSPath::SkBasename(inputPath.c_str()); |
gWriter.bench(filename.c_str(), picture->width(), picture->height()); |