Index: third_party/WebKit/Source/devtools/front_end/ui/SplitWidget.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SplitWidget.js b/third_party/WebKit/Source/devtools/front_end/ui/SplitWidget.js |
index ea73d192613dad49398ac5e805e666e0bb158fd7..72d4fe4e1f410b5db48d5d5773046897e68e5121 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/SplitWidget.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/SplitWidget.js |
@@ -832,7 +832,7 @@ UI.SplitWidget = class extends UI.Widget { |
createShowHideSidebarButton(title) { |
this._showHideSidebarButtonTitle = Common.UIString(title); |
this._showHideSidebarButton = new UI.ToolbarButton('', ''); |
- this._showHideSidebarButton.addEventListener('click', buttonClicked.bind(this)); |
+ this._showHideSidebarButton.addEventListener(UI.ToolbarButton.Events.Click, buttonClicked, this); |
this._updateShowHideSidebarButton(); |
/** |