Index: src/debug/debug-scopes.cc |
diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc |
index 55108bb96e47b8948031798da888b5241e2f871e..123e4cb7d139842c92c03ab72a566e26a664eee2 100644 |
--- a/src/debug/debug-scopes.cc |
+++ b/src/debug/debug-scopes.cc |
@@ -115,8 +115,7 @@ ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector, |
CollectNonLocals(info.get(), scope); |
} |
if (!ignore_nested_scopes) { |
- AstNodeFactory ast_node_factory(info.get()->ast_value_factory()); |
- scope->AllocateVariables(info.get(), &ast_node_factory); |
+ scope->AllocateVariables(info.get()); |
RetrieveScopeChain(scope); |
} |
} else if (!ignore_nested_scopes) { |