Index: src/utils/SkOSFile.cpp |
diff --git a/src/utils/SkOSFile.cpp b/src/utils/SkOSFile.cpp |
index 73cc147a24c81a5f13b5b2da41c39f74d83678bd..478a0cc44868e4376e5839a052a151729e0d7ff6 100644 |
--- a/src/utils/SkOSFile.cpp |
+++ b/src/utils/SkOSFile.cpp |
@@ -226,25 +226,4 @@ bool SkOSFile::Iter::next(SkString* name, bool getDir) |
return false; |
} |
-SkString SkOSPath::SkPathJoin(const char *rootPath, const char *relativePath) { |
- SkString result(rootPath); |
- if (!result.endsWith(SkPATH_SEPARATOR)) { |
- result.appendUnichar(SkPATH_SEPARATOR); |
- } |
- result.append(relativePath); |
- return result; |
-} |
- |
-SkString SkOSPath::SkBasename(const char* fullPath) { |
- if (!fullPath) { |
- return SkString(); |
- } |
- const char* filename = strrchr(fullPath, SkPATH_SEPARATOR); |
- if (NULL == filename) { |
- filename = fullPath; |
- } else { |
- ++filename; |
- } |
- return SkString(filename); |
-} |
#endif |