Index: src/string-stream.cc |
diff --git a/src/string-stream.cc b/src/string-stream.cc |
index 2db084b2ff4d664ee4bdb432dd683c48744400a2..25e340b4a563323f7a830ee73033161572906bb3 100644 |
--- a/src/string-stream.cc |
+++ b/src/string-stream.cc |
@@ -237,7 +237,7 @@ void StringStream::Add(const char* format, FmtElm arg0, FmtElm arg1, |
SmartArrayPointer<const char> StringStream::ToCString() const { |
char* str = NewArray<char>(length_ + 1); |
- MemCopy(str, buffer_, length_); |
+ OS::MemCopy(str, buffer_, length_); |
str[length_] = '\0'; |
return SmartArrayPointer<const char>(str); |
} |
@@ -546,7 +546,7 @@ char* HeapStringAllocator::grow(unsigned* bytes) { |
if (new_space == NULL) { |
return space_; |
} |
- MemCopy(new_space, space_, *bytes); |
+ OS::MemCopy(new_space, space_, *bytes); |
*bytes = new_bytes; |
DeleteArray(space_); |
space_ = new_space; |