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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/SplitWidget.js

Issue 2553043003: [DevTools] Remove methods on Common.Event. (Closed)
Patch Set: rebased Created 4 years 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/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();
/**

Powered by Google App Engine
This is Rietveld 408576698