Index: src/snapshot/snapshot-common.cc |
diff --git a/src/snapshot/snapshot-common.cc b/src/snapshot/snapshot-common.cc |
index 959ac56fa98aa6a182062c76126f53e24c6bb193..83ad2e7d3942dde9ebbc4655d8493b8d74d3fd10 100644 |
--- a/src/snapshot/snapshot-common.cc |
+++ b/src/snapshot/snapshot-common.cc |
@@ -50,8 +50,8 @@ bool Snapshot::Initialize(Isolate* isolate) { |
} |
MaybeHandle<Context> Snapshot::NewContextFromSnapshot( |
- Isolate* isolate, Handle<JSGlobalProxy> global_proxy, |
- size_t context_index) { |
+ Isolate* isolate, Handle<JSGlobalProxy> global_proxy, size_t context_index, |
+ v8::DeserializeInternalFieldsCallback internal_fields_deserializer) { |
if (!isolate->snapshot_available()) return Handle<Context>(); |
base::ElapsedTimer timer; |
if (FLAG_profile_deserialization) timer.Start(); |
@@ -62,8 +62,8 @@ MaybeHandle<Context> Snapshot::NewContextFromSnapshot( |
SnapshotData snapshot_data(context_data); |
Deserializer deserializer(&snapshot_data); |
- MaybeHandle<Object> maybe_context = |
- deserializer.DeserializePartial(isolate, global_proxy); |
+ MaybeHandle<Object> maybe_context = deserializer.DeserializePartial( |
+ isolate, global_proxy, internal_fields_deserializer); |
Handle<Object> result; |
if (!maybe_context.ToHandle(&result)) return MaybeHandle<Context>(); |
CHECK(result->IsContext()); |