Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index 7e05e4fb15bac5f9012af1ed01f552f9b2f993e7..a515a22bdf051f4a982627904438c3b09451e195 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::MemCopy(chunk.start(), buffer, chars_written); |
+ i::OS::MemCopy(chunk.start(), buffer, chars_written); |
return kContinue; |
} |
virtual WriteResult WriteUint32Chunk(uint32_t* buffer, int chars_written) { |