Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index a515a22bdf051f4a982627904438c3b09451e195..7e05e4fb15bac5f9012af1ed01f552f9b2f993e7 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -777,7 +777,7 @@ class TestJSONStream : public v8::OutputStream { |
if (abort_countdown_ == 0) return kAbort; |
CHECK_GT(chars_written, 0); |
i::Vector<char> chunk = buffer_.AddBlock(chars_written, '\0'); |
- i::OS::MemCopy(chunk.start(), buffer, chars_written); |
+ i::MemCopy(chunk.start(), buffer, chars_written); |
return kContinue; |
} |
virtual WriteResult WriteUint32Chunk(uint32_t* buffer, int chars_written) { |