| Index: tools/CopyTilesRenderer.cpp
|
| diff --git a/tools/CopyTilesRenderer.cpp b/tools/CopyTilesRenderer.cpp
|
| index 245685568a6e1583f9afb2f6a2ecb619ef371e5f..ebd33d88511b3682330026dba49dac1faa5c8177 100644
|
| --- a/tools/CopyTilesRenderer.cpp
|
| +++ b/tools/CopyTilesRenderer.cpp
|
| @@ -71,8 +71,8 @@ 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());
|
| pathWithNumber.remove(pathWithNumber.size() - 4, 4);
|
| pathWithNumber.appendf("%i.png", i++);
|
| SkBitmap copy;
|
|
|