aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/filtermain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/filtermain.cpp')
-rw-r--r--tools/filtermain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/filtermain.cpp b/tools/filtermain.cpp
index 36b9f925c5..a67f744983 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);