Index: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js |
index a65842454acd5b1719fe5f6906c806054878b0a1..b7dec58ff9d4436da9a4a750cd47d4f954ea6841 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js |
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js |
@@ -170,7 +170,7 @@ Emulation.DeviceModeToolbar = class { |
toolbar.appendToolbarItem( |
this._wrapToolbarItem(createElementWithClass('div', 'device-mode-empty-toolbar-element'))); |
this._modeButton = new UI.ToolbarButton('', 'largeicon-rotate-screen'); |
- this._modeButton.addEventListener('click', this._modeMenuClicked, this); |
+ this._modeButton.addEventListener(UI.ToolbarButton.Events.Click, this._modeMenuClicked, this); |
toolbar.appendToolbarItem(this._modeButton); |
} |