Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: tools/filtermain.cpp

Issue 327403002: Cleanup: Delete sk_tools::make_filepath() in favor of SkOSPath::SkPathJoin(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fixes Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/bench_pictures_main.cpp ('k') | tools/lua/lua_pictures.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « tools/bench_pictures_main.cpp ('k') | tools/lua/lua_pictures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698