Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js b/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js |
| index 2df06bff5283ad51472368cb1ebe9ac500497b06..500fc75ebf9d6158b3d71390c209b544efc93499 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/emulation/DevicesSettingsTab.js |
| @@ -152,8 +152,8 @@ WebInspector.DevicesSettingsTab.prototype = { |
| device.deviceScaleFactor = editor.control("scale").value ? parseFloat(editor.control("scale").value) : 0; |
| device.userAgent = editor.control("user-agent").value; |
| device.modes = []; |
| - device.modes.push({title: "", orientation: WebInspector.EmulatedDevice.Vertical, insets: new Insets(0, 0, 0, 0), images: null}); |
| - device.modes.push({title: "", orientation: WebInspector.EmulatedDevice.Horizontal, insets: new Insets(0, 0, 0, 0), images: null}); |
| + device.modes.push({title: "", orientation: WebInspector.EmulatedDevice.Vertical, insets: new Insets(0, 0, 0, 0), image: null}); |
|
lushnikov
2016/03/04 05:06:58
nice!
|
| + device.modes.push({title: "", orientation: WebInspector.EmulatedDevice.Horizontal, insets: new Insets(0, 0, 0, 0), image: null}); |
| device.capabilities = []; |
| var uaType = editor.control("ua-type").value; |
| if (uaType === WebInspector.DeviceModeModel.UA.Mobile || uaType === WebInspector.DeviceModeModel.UA.MobileNoTouch) |