Index: tools/CopyTilesRenderer.cpp |
diff --git a/tools/CopyTilesRenderer.cpp b/tools/CopyTilesRenderer.cpp |
index 245685568a6e1583f9afb2f6a2ecb619ef371e5f..03562955e0add8909afa8a9b8edd24b9908d9d41 100644 |
--- a/tools/CopyTilesRenderer.cpp |
+++ b/tools/CopyTilesRenderer.cpp |
@@ -71,8 +71,7 @@ namespace sk_tools { |
// a bitmap directly. |
// TODO: Share more common code with write() to do this, to properly |
// write out the JSON summary, etc. |
- SkString pathWithNumber; |
- make_filepath(&pathWithNumber, fWritePath, fInputFilename); |
+ SkString pathWithNumber = SkOSPath::SkPathJoin(fWritePath.c_str(), fInputFilename.c_str()); |
epoger
2014/06/12 01:39:45
please wrap all lines at 100 chars
|
pathWithNumber.remove(pathWithNumber.size() - 4, 4); |
pathWithNumber.appendf("%i.png", i++); |
SkBitmap copy; |