| Index: Source/devtools/front_end/emulation/ResponsiveDesignView.js
|
| diff --git a/Source/devtools/front_end/emulation/ResponsiveDesignView.js b/Source/devtools/front_end/emulation/ResponsiveDesignView.js
|
| index cb2f06beb60e676720cf5fbb454bc3f2c39ea46d..0e445bf608f3dae9e062a216e620c21164b6790d 100644
|
| --- a/Source/devtools/front_end/emulation/ResponsiveDesignView.js
|
| +++ b/Source/devtools/front_end/emulation/ResponsiveDesignView.js
|
| @@ -618,8 +618,7 @@ WebInspector.ResponsiveDesignView.prototype = {
|
|
|
| var fieldsetElement = deviceElement.createChild("fieldset");
|
| fieldsetElement.createChild("label").textContent = WebInspector.UIString("Device");
|
| - var deviceSelect = new WebInspector.DeviceSelect(createElementWithClass("button", "responsive-design-icon responsive-design-icon-swap"));
|
| - deviceSelect.setCallback(this._deviceModeSelected.bind(this));
|
| + var deviceSelect = new WebInspector.DeviceSelect(createElementWithClass("button", "responsive-design-icon responsive-design-icon-swap"), this._deviceModeSelected.bind(this));
|
| fieldsetElement.appendChild(deviceSelect.element);
|
| deviceSelect.element.classList.add("responsive-design-device-select");
|
|
|
|
|