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

Unified Diff: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.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/extensions/ExtensionPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js
index fc6ceb4ea401cdad9284972aaff1a9b7125df610..87c5b1b28ec587e40f282e42549bdb93da8da19c 100644
--- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionPanel.js
@@ -133,7 +133,8 @@ Extensions.ExtensionButton = class {
this._id = id;
this._toolbarButton = new UI.ToolbarButton('', '');
- this._toolbarButton.addEventListener('click', server.notifyButtonClicked.bind(server, this._id));
+ this._toolbarButton.addEventListener(
+ UI.ToolbarButton.Events.Click, server.notifyButtonClicked.bind(server, this._id));
this.update(iconURL, tooltip, disabled);
}

Powered by Google App Engine
This is Rietveld 408576698