Index: tools/PictureRenderer.cpp |
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp |
index f2fd6b73fa8d968a902d915fbb4e23f347fe5c6f..4816bc4f49495d9616770eed91c60ac305fee11e 100644 |
--- a/tools/PictureRenderer.cpp |
+++ b/tools/PictureRenderer.cpp |
@@ -302,7 +302,7 @@ static bool write(SkCanvas* canvas, const SkString& writePath, const SkString& m |
BitmapAndDigest bitmapAndDigest(bitmap); |
SkString escapedInputFilename(inputFilename); |
- replace_char(&escapedInputFilename, '.', '_'); |
+ escapedInputFilename.replace('.', '_'); |
// TODO(epoger): what about including the config type within outputFilename? That way, |
// we could combine results of different config types without conflicting filenames. |