| Index: Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
|
| diff --git a/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js b/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
|
| index 24d08fc9eb2d7de0882faab7324a796c739d9ef2..80b97689bed226c705384db4454483d907a7c5f7 100644
|
| --- a/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
|
| +++ b/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
|
| @@ -52,6 +52,7 @@ WebInspector.WatchExpressionsSidebarPane = function()
|
| addButton.title = WebInspector.UIString("Add watch expression");
|
|
|
| this._requiresUpdate = true;
|
| + WebInspector.context.addFlavorChangeListener(WebInspector.ExecutionContext ,this.refreshExpressions, this);
|
| }
|
|
|
| WebInspector.WatchExpressionsSidebarPane.prototype = {
|
| @@ -60,11 +61,6 @@ WebInspector.WatchExpressionsSidebarPane.prototype = {
|
| this._refreshExpressionsIfNeeded();
|
| },
|
|
|
| - reset: function()
|
| - {
|
| - this.refreshExpressions();
|
| - },
|
| -
|
| refreshExpressions: function()
|
| {
|
| this._requiresUpdate = true;
|
|
|