| Index: src/debug/debug-scopes.cc
|
| diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc
|
| index 943f6eeaaf9b85b91b520066ffb4dad7a15df5df..d71cccef683e68db8dcb6012a811ded1e604c4c5 100644
|
| --- a/src/debug/debug-scopes.cc
|
| +++ b/src/debug/debug-scopes.cc
|
| @@ -467,7 +467,7 @@ MaybeHandle<JSObject> ScopeIterator::MaterializeLocalScope() {
|
| if (!scope_info->HasContext()) return local_scope;
|
|
|
| // Third fill all context locals.
|
| - Handle<Context> function_context(frame_context->declaration_context());
|
| + Handle<Context> function_context(frame_context->closure_context());
|
| CopyContextLocalsToScopeObject(scope_info, function_context, local_scope);
|
|
|
| // Finally copy any properties from the function context extension.
|
|
|