| 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 858a67ea3de18b903360fc120a44a17f7f2bdbba..bf8f41881ef1ca94ee528af5ee9c8c17861a519f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
|
| @@ -33,16 +33,15 @@ WebInspector.ScopeChainSidebarPane = function()
|
| WebInspector.SimpleView.call(this, WebInspector.UIString("Scope"));
|
| this._expandController = new WebInspector.ObjectPropertiesSectionExpandController();
|
| this._linkifier = new WebInspector.Linkifier();
|
| + WebInspector.context.addFlavorChangeListener(WebInspector.DebuggerModel.CallFrame, this._update, this);
|
| }
|
|
|
| WebInspector.ScopeChainSidebarPane._pathSymbol = Symbol("path");
|
|
|
| WebInspector.ScopeChainSidebarPane.prototype = {
|
| - /**
|
| - * @param {?WebInspector.DebuggerModel.CallFrame} callFrame
|
| - */
|
| - update: function(callFrame)
|
| + _update: function()
|
| {
|
| + var callFrame = WebInspector.context.flavor(WebInspector.DebuggerModel.CallFrame);
|
| this._linkifier.reset();
|
| WebInspector.SourceMapNamesResolver.resolveThisObject(callFrame)
|
| .then(this._innerUpdate.bind(this, callFrame));
|
|
|