Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(786)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js

Issue 2153153003: DevTools: remove dead code, disambiguate expand for sections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
index f2e23b754bc6eb51c58f355b1cf87f28dfe62136..026c0211e9b2715907aab7e6001506cc1d015ddd 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
@@ -75,7 +75,7 @@ WebInspector.WatchExpressionsSidebarPane.prototype = {
*/
addExpression: function(expressionString)
{
- this.expand();
+ this.expandPane();
if (this._requiresUpdate) {
this._rebuildWatchExpressions();
delete this._requiresUpdate;
@@ -87,7 +87,7 @@ WebInspector.WatchExpressionsSidebarPane.prototype = {
expandIfNecessary: function()
{
if (this._watchExpressionsSetting.get().length)
- this.expand();
+ this.expandPane();
},
_saveExpressions: function()
@@ -116,7 +116,7 @@ WebInspector.WatchExpressionsSidebarPane.prototype = {
{
if (event)
event.consume(true);
- this.expand();
+ this.expandPane();
this._createWatchExpression(null).startEditing();
},

Powered by Google App Engine
This is Rietveld 408576698