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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.js

Issue 2573323002: Revert of [DevTools] Remove methods on Common.Event. (Closed)
Patch Set: 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/elements/EventListenersWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.js b/third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.js
index bd334a80cc8ea5193ff72ee821f7ae595fcbf996..464cab1dabbe839817fba275f3f04faa5cce4b10 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.js
@@ -48,7 +48,7 @@
this._eventListenersView = new Components.EventListenersView(this.element, this.update.bind(this));
var refreshButton = new UI.ToolbarButton(Common.UIString('Refresh'), 'largeicon-refresh');
- refreshButton.addEventListener(UI.ToolbarButton.Events.Click, this.update.bind(this));
+ refreshButton.addEventListener('click', this.update.bind(this));
this._toolbarItems.push(refreshButton);
this._toolbarItems.push(new UI.ToolbarCheckbox(
Common.UIString('Ancestors'), Common.UIString('Show listeners on the ancestors'),

Powered by Google App Engine
This is Rietveld 408576698