Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index ab013037689c092fc9bd2a10cdb5b55e987b5e58..18c59d98ca93edad88770ade1abee578f0054011 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -554,7 +554,7 @@ RUNTIME_FUNCTION(Runtime_GetFrameDetails) { |
if (local < local_count) { |
// Get the context containing declarations. |
Handle<Context> context( |
- Context::cast(frame_inspector.GetContext())->declaration_context()); |
+ Context::cast(frame_inspector.GetContext())->closure_context()); |
for (; i < scope_info->LocalCount(); ++i) { |
if (scope_info->LocalIsSynthetic(i)) continue; |
Handle<String> name(scope_info->LocalName(i)); |