Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index 8645d54e7c58e6b217a25e9f58ae2a02f6e34882..efe061986531dce3c8e24f9562f9cb31803952a8 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -692,7 +692,7 @@ void Deserializer::Deserialize() { |
isolate_->heap()->IterateStrongRoots(this, VISIT_ONLY_STRONG); |
isolate_->heap()->IterateWeakRoots(this, VISIT_ALL); |
- isolate_->heap()->set_global_contexts_list( |
+ isolate_->heap()->set_native_contexts_list( |
isolate_->heap()->undefined_value()); |
// Update data pointers to the external strings containing natives sources. |