Index: tools/picture_utils.cpp |
diff --git a/tools/picture_utils.cpp b/tools/picture_utils.cpp |
index 597fd4878f338c75aa2e594141768b4e621fa017..6a35dd1d70f2e4233fbfd21544acfa5a57f4a48f 100644 |
--- a/tools/picture_utils.cpp |
+++ b/tools/picture_utils.cpp |
@@ -55,12 +55,12 @@ namespace sk_tools { |
const char *subdirOrNull, const SkString& baseName) { |
SkString partialPath; |
if (subdirOrNull) { |
- partialPath = SkOSPath::SkPathJoin(dirPath.c_str(), subdirOrNull); |
+ partialPath = SkOSPath::Join(dirPath.c_str(), subdirOrNull); |
sk_mkdir(partialPath.c_str()); |
} else { |
partialPath.set(dirPath); |
} |
- SkString fullPath = SkOSPath::SkPathJoin(partialPath.c_str(), baseName.c_str()); |
+ SkString fullPath = SkOSPath::Join(partialPath.c_str(), baseName.c_str()); |
if (SkImageEncoder::EncodeFile(fullPath.c_str(), bm, SkImageEncoder::kPNG_Type, 100)) { |
return true; |
} else { |