Index: src/serialize.h |
diff --git a/src/serialize.h b/src/serialize.h |
index e0bcf4e18706be56363be70269c4b96b85af3c55..dc9ffd62b10230e9d0af59c7b2dee79b5df36ad3 100644 |
--- a/src/serialize.h |
+++ b/src/serialize.h |
@@ -311,7 +311,7 @@ int SnapshotByteSource::GetInt() { |
void SnapshotByteSource::CopyRaw(byte* to, int number_of_bytes) { |
- memcpy(to, data_ + position_, number_of_bytes); |
+ OS::MemCopy(to, data_ + position_, number_of_bytes); |
position_ += number_of_bytes; |
} |