Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index ace134b64572a5c2b15932de2247fd99610e62a4..b7991d38bf737f7f575238d53581ce09af39e88a 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2604,7 +2604,7 @@ Genesis::Genesis(Isolate* isolate, |
// We can only de-serialize a context if the isolate was initialized from |
// a snapshot. Otherwise we have to build the context from scratch. |
if (isolate->initialized_from_snapshot()) { |
- native_context_ = Snapshot::NewContextFromSnapshot(); |
+ native_context_ = Snapshot::NewContextFromSnapshot(isolate); |
} else { |
native_context_ = Handle<Context>(); |
} |