Index: src/background-parsing-task.cc |
diff --git a/src/background-parsing-task.cc b/src/background-parsing-task.cc |
index 99d9e9f74e0350d72a52b3ccf4137684a4e0c8d1..33d3d518aff0b1fe2b91503e8309f53bd143d772 100644 |
--- a/src/background-parsing-task.cc |
+++ b/src/background-parsing-task.cc |
@@ -61,6 +61,9 @@ void BackgroundParsingTask::Run() { |
Isolate* isolate = source_->info->isolate(); |
source_->info->set_isolate(nullptr); |
+ source_->parser->DeserializeScopeChain( |
+ source_->info.get(), Handle<Context>::null(), |
+ Scope::DeserializationMode::kDeserializeOffHeap); |
source_->parser->ParseOnBackground(source_->info.get()); |
if (script_data_ != nullptr) { |