| Index: src/snapshot-source-sink.h
|
| diff --git a/src/snapshot-source-sink.h b/src/snapshot-source-sink.h
|
| index 68901a13190135a9cd457e968ec88f96285058e8..216efef56f6896f741f80001da7dc4d62ea1970b 100644
|
| --- a/src/snapshot-source-sink.h
|
| +++ b/src/snapshot-source-sink.h
|
| @@ -19,7 +19,7 @@ namespace internal {
|
| */
|
| class SnapshotByteSource FINAL {
|
| public:
|
| - SnapshotByteSource(const byte* array, int length);
|
| + explicit SnapshotByteSource(Vector<const byte> payload);
|
| ~SnapshotByteSource();
|
|
|
| bool HasMore() { return position_ < length_; }
|
| @@ -83,8 +83,8 @@ class SnapshotByteSink {
|
| }
|
|
|
| void PutInt(uintptr_t integer, const char* description);
|
| - void PutRaw(byte* data, int number_of_bytes, const char* description);
|
| - void PutBlob(byte* data, int number_of_bytes, const char* description);
|
| + void PutRaw(const byte* data, int number_of_bytes, const char* description);
|
| + void PutBlob(Vector<const byte> blob, const char* description);
|
| int Position() { return data_.length(); }
|
|
|
| const List<byte>& data() const { return data_; }
|
|
|