Index: src/utils/SkOSFile.cpp |
diff --git a/src/utils/SkOSFile.cpp b/src/utils/SkOSFile.cpp |
index 0a403750b8b9f44165163ef61475b1465ec22144..20ee3a4aad298c4c9db2eb4229c230a54081407e 100644 |
--- a/src/utils/SkOSFile.cpp |
+++ b/src/utils/SkOSFile.cpp |
@@ -54,17 +54,6 @@ static uint16_t* concat_to_16(const char src[], const char suffix[]) |
return dst; |
} |
-SkUTF16_Str::SkUTF16_Str(const char src[]) |
-{ |
- size_t len = strlen(src); |
- |
- fStr = (uint16_t*)sk_malloc_throw((len + 1) * sizeof(uint16_t)); |
- size_t i; |
- for (i = 0; i < len; i++) |
- fStr[i] = src[i]; |
- fStr[i] = 0; |
-} |
- |
//////////////////////////////////////////////////////////////////////////// |
SkOSFile::Iter::Iter() : fHandle(0), fPath16(NULL) |