aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/lua
diff options
context:
space:
mode:
authorGravatar tfarina <tfarina@chromium.org>2014-06-12 08:50:56 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-12 08:50:56 -0700
commitda4ed3289ec05a7155d5669c90a743a829574ea6 (patch)
treef4d18c4075847afac9085a8fd0c5d771b5a6511c /tools/lua
parent06cc564823a0ae29ff5c33039a2f542d48bbeb56 (diff)
Cleanup: Delete sk_tools::make_filepath() in favor of SkOSPath::SkPathJoin().
BUG=None TEST=make tools tests && out/Debug/tests R=epoger@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/327403002
Diffstat (limited to 'tools/lua')
-rw-r--r--tools/lua/lua_pictures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lua/lua_pictures.cpp b/tools/lua/lua_pictures.cpp
index f1c5ce920f..2985bf64c3 100644
--- a/tools/lua/lua_pictures.cpp
+++ b/tools/lua/lua_pictures.cpp
@@ -132,7 +132,7 @@ int tool_main(int argc, char** argv) {
SkString filename;
SkOSFile::Iter iter(FLAGS_skpPath[i], "skp");
while(iter.next(&filename)) {
- sk_tools::make_filepath(&paths.push_back(), directory, filename);
+ paths.push_back() = SkOSPath::SkPathJoin(directory.c_str(), filename.c_str());
}
} else {
// Add this as an .skp itself.