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 c2cf815e3d40e27821dd13acde63c4a121bd7dd5..d30c0f9054a8fa68232cf5100f2ec63c15272683 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); |
toolbar.appendSeparator(); |
toolbar.appendToolbarItem( |