Index: tools/lua/lua_pictures.cpp |
diff --git a/tools/lua/lua_pictures.cpp b/tools/lua/lua_pictures.cpp |
index f1c5ce920f0c720868a5b33102bc0f0621390a60..2985bf64c31323471250124b486b694ad026fdd2 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. |