Index: src/snapshot/snapshot-source-sink.h |
diff --git a/src/snapshot/snapshot-source-sink.h b/src/snapshot/snapshot-source-sink.h |
index 360ec76bb61986deabbfd20d156dd120ce34fd50..5d4c08d43a04681892377333796562072a71dc7f 100644 |
--- a/src/snapshot/snapshot-source-sink.h |
+++ b/src/snapshot/snapshot-source-sink.h |
@@ -94,7 +94,7 @@ class SnapshotByteSink { |
void PutRaw(const byte* data, int number_of_bytes, const char* description); |
int Position() { return data_.length(); } |
- const List<byte>& data() const { return data_; } |
+ const List<byte>* data() const { return &data_; } |
private: |
List<byte> data_; |