| 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 8f3b0599ccc04f8fbacac2070d9b68372254b95f..43be1a66601a296ccb87b1716a096085275345ff 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| @@ -636,6 +636,10 @@ Emulation.DeviceModeModel = class {
|
| if (!metrics)
|
| return null;
|
|
|
| + if (!this._emulatedPageSize)
|
| + this._calculateAndEmulate(false);
|
| + this._target.renderingAgent().setShowViewportSizeOnResize(false);
|
| +
|
| var pageSize = fullSize ? new UI.Size(metrics.contentWidth, metrics.contentHeight) : this._emulatedPageSize;
|
| var promises = [];
|
| promises.push(
|
|
|