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

Unified Diff: Source/devtools/front_end/elements/StylesSidebarPane.js

Issue 1176413002: Devtools: Fix disabled element state pane button after reloading (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/devtools/front_end/elements/ElementStatePaneWidget.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/elements/StylesSidebarPane.js
diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js
index dcfc44a66357356358747b7576e28ff8fb26e50e..658f4d0b3e1dcffe709d4ec3cf5e26d55e194150 100644
--- a/Source/devtools/front_end/elements/StylesSidebarPane.js
+++ b/Source/devtools/front_end/elements/StylesSidebarPane.js
@@ -42,6 +42,7 @@ WebInspector.StylesSidebarPane = function(requestShowCallback)
var toolbar = new WebInspector.ExtensibleToolbar("styles-sidebarpane-toolbar", this.element);
toolbar.element.classList.add("styles-pane-toolbar");
+ this._currentToolbarPane = null;
this._requestShowCallback = requestShowCallback;
var toolbarPaneContainer = this.element.createChild("div", "styles-sidebar-toolbar-pane-container");
@@ -3192,14 +3193,6 @@ WebInspector.StylesSidebarPane.BaseToolbarPaneWidget = function(toolbarItem)
}
WebInspector.StylesSidebarPane.BaseToolbarPaneWidget.prototype = {
- /**
- * @return {!WebInspector.ToolbarItem}
- */
- toolbarItem: function()
- {
- return this._toolbarItem;
- },
-
_nodeChanged: function()
{
if (!this.isShowing())
« no previous file with comments | « Source/devtools/front_end/elements/ElementStatePaneWidget.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698