| Index: src/profile-generator.cc
|
| diff --git a/src/profile-generator.cc b/src/profile-generator.cc
|
| index 0ad300bd64bb19a7110b70582e4772bf49fd8037..5c177923a0ff48ee67996a61b462f7c429834726 100644
|
| --- a/src/profile-generator.cc
|
| +++ b/src/profile-generator.cc
|
| @@ -43,7 +43,7 @@ const char* StringsStorage::GetCopy(const char* src) {
|
| HashMap::Entry* entry = GetEntry(src, len);
|
| if (entry->value == NULL) {
|
| Vector<char> dst = Vector<char>::New(len + 1);
|
| - OS::StrNCpy(dst, src, len);
|
| + StrNCpy(dst, src, len);
|
| dst[len] = '\0';
|
| entry->key = dst.start();
|
| entry->value = entry->key;
|
| @@ -76,7 +76,7 @@ const char* StringsStorage::AddOrDisposeString(char* str, int len) {
|
|
|
| const char* StringsStorage::GetVFormatted(const char* format, va_list args) {
|
| Vector<char> str = Vector<char>::New(1024);
|
| - int len = OS::VSNPrintF(str, format, args);
|
| + int len = VSNPrintF(str, format, args);
|
| if (len == -1) {
|
| DeleteArray(str.start());
|
| return GetCopy(format);
|
|
|