| Index: Source/devtools/front_end/emulation/DevicesSettingsTab.js
|
| diff --git a/Source/devtools/front_end/emulation/DevicesSettingsTab.js b/Source/devtools/front_end/emulation/DevicesSettingsTab.js
|
| index 1a6c471378f8a38976133887645513865eb0542b..821dffeb5376e0d078ce484c091fdee8a99296cb 100644
|
| --- a/Source/devtools/front_end/emulation/DevicesSettingsTab.js
|
| +++ b/Source/devtools/front_end/emulation/DevicesSettingsTab.js
|
| @@ -280,7 +280,8 @@ WebInspector.DevicesSettingsTab.prototype = {
|
| this._editDevice.horizontal.height = this._editDevice.vertical.width;
|
| this._editDevice.deviceScaleFactor = this._editDeviceScale.value ? parseFloat(this._editDeviceScale.value) : 0;
|
| this._editDevice.userAgent = this._editDeviceUserAgent.value;
|
| - this._editDevice.createImplicitModes();
|
| + this._editDevice.modes.push({title: "", orientation: WebInspector.EmulatedDevice.Horizontal, insets: new Insets(0, 0, 0, 0), images: null});
|
| + this._editDevice.modes.push({title: "", orientation: WebInspector.EmulatedDevice.Vertical, insets: new Insets(0, 0, 0, 0), images: null});
|
|
|
| this._stopEditing();
|
| if (this._editDeviceListItem)
|
|
|