| 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 b7dec58ff9d4436da9a4a750cd47d4f954ea6841..a65842454acd5b1719fe5f6906c806054878b0a1 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 @@
|
| toolbar.appendToolbarItem(
|
| this._wrapToolbarItem(createElementWithClass('div', 'device-mode-empty-toolbar-element')));
|
| this._modeButton = new UI.ToolbarButton('', 'largeicon-rotate-screen');
|
| - this._modeButton.addEventListener(UI.ToolbarButton.Events.Click, this._modeMenuClicked, this);
|
| + this._modeButton.addEventListener('click', this._modeMenuClicked, this);
|
| toolbar.appendToolbarItem(this._modeButton);
|
| }
|
|
|
|
|