Index: tools/filtermain.cpp |
diff --git a/tools/filtermain.cpp b/tools/filtermain.cpp |
index 36b9f925c59bf365706bac64b5d037d7c3ba9692..a67f744983624ab790ceb40350f0ed3543fdd0f2 100644 |
--- a/tools/filtermain.cpp |
+++ b/tools/filtermain.cpp |
@@ -818,9 +818,9 @@ int tool_main(int argc, char** argv) { |
if (iter.next(&inputFilename)) { |
do { |
- sk_tools::make_filepath(&inFile, inDir, inputFilename); |
+ inFile = SkOSPath::SkPathJoin(inDir.c_str(), inputFilename.c_str()); |
if (!outDir.isEmpty()) { |
- sk_tools::make_filepath(&outFile, outDir, inputFilename); |
+ outFile = SkOSPath::SkPathJoin(outDir.c_str(), inputFilename.c_str()); |
} |
SkDebugf("Executing %s\n", inputFilename.c_str()); |
filter_picture(inFile, outFile); |