Index: third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js |
index b775782cd4dbe03cdd30e6eae03b2ee962ef90c1..739d9bdbd6af34bfc4154ae4d5c10dcdce485123 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js |
@@ -429,7 +429,7 @@ |
toolbar.appendToolbarItem(this._toggleRecordButton); |
this.clearResultsButton = new UI.ToolbarButton(Common.UIString('Clear all profiles'), 'largeicon-clear'); |
- this.clearResultsButton.addEventListener(UI.ToolbarButton.Events.Click, this._reset, this); |
+ this.clearResultsButton.addEventListener('click', this._reset, this); |
toolbar.appendToolbarItem(this.clearResultsButton); |
this._profileTypeToolbar = new UI.Toolbar('', this._toolbarElement); |