Index: third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js |
index 35440f10448a069a216c23e0779b8b6ed691ce39..620e2528a3de1cbe3190d48436ec8d634f72d1ac 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js |
@@ -8,13 +8,12 @@ |
Sources.ObjectEventListenersSidebarPane = class extends UI.VBox { |
constructor() { |
super(); |
- this.element.classList.add('event-listeners-sidebar-pane'); |
- |
this._refreshButton = new UI.ToolbarButton(Common.UIString('Refresh'), 'largeicon-refresh'); |
this._refreshButton.addEventListener(UI.ToolbarButton.Events.Click, this._refreshClick, this); |
this._refreshButton.setEnabled(false); |
- this._eventListenersView = new EventListeners.EventListenersView(this.element, this.update.bind(this)); |
+ this._eventListenersView = new EventListeners.EventListenersView(this.update.bind(this)); |
+ this._eventListenersView.show(this.element); |
} |
/** |