Index: src/snapshot-common.cc |
diff --git a/src/snapshot-common.cc b/src/snapshot-common.cc |
index 7f82895802db2e9bee043f2ef3c38d5c43ed27cf..ef89a5ef7020fa21e35b935b873f51771cfc2762 100644 |
--- a/src/snapshot-common.cc |
+++ b/src/snapshot-common.cc |
@@ -53,7 +53,7 @@ bool Snapshot::Initialize(const char* snapshot_file) { |
DeleteArray(str); |
return true; |
} else if (size_ > 0) { |
- Deserialize(data_, size_); |
+ Deserialize(raw_data_, raw_size_); |
return true; |
} |
return false; |
@@ -71,7 +71,8 @@ Handle<Context> Snapshot::NewContextFromSnapshot() { |
map_space_used_, |
cell_space_used_, |
large_space_used_); |
- SnapshotByteSource source(context_data_, context_size_); |
+ SnapshotByteSource source(context_raw_data_, |
+ context_raw_size_); |
Deserializer deserializer(&source); |
Object* root; |
deserializer.DeserializePartial(&root); |