| Index: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| index 28735412d5a10b09a6c368d137dc3f9e09dc9e4f..2abc843a8e6b0d6c4c1d876335986ea8e58e74a7 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| @@ -337,7 +337,7 @@ WebInspector.DeviceModeModel.prototype = {
|
| scale = this._fitScale;
|
| } else {
|
| scale = 1;
|
| - while (this._availableSize.width < screenWidth * scale || (!screenHeight && this._availableSize.height < screenHeight * scale))
|
| + while (this._availableSize.width < screenWidth * scale || (screenHeight && this._availableSize.height < screenHeight * scale))
|
| scale *= 0.8;
|
| }
|
| }
|
|
|