Index: third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js |
index ab589fdde3aad0c568fddc470a70bbc50390c5f1..84e2a931ddea5ab84d93d6ac6f0038d4c1872e60 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js |
@@ -113,7 +113,7 @@ WebInspector.ScopeChainSidebarPane.prototype = { |
titleElement.createChild("div", "scope-chain-sidebar-pane-section-subtitle").textContent = subtitle; |
titleElement.createChild("div", "scope-chain-sidebar-pane-section-title").textContent = title; |
- var section = new WebInspector.ObjectPropertiesSection(scope.object(), titleElement, emptyPlaceholder, true, extraProperties); |
+ var section = new WebInspector.ObjectPropertiesSection(WebInspector.SourceMapNamesResolver.resolveScopeInObject(scope), titleElement, emptyPlaceholder, true, extraProperties); |
this._expandController.watchSection(title + (subtitle ? ":" + subtitle : ""), section); |
if (scope.type() === DebuggerAgent.ScopeType.Global) |