| 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 3ab03939ba624f156386519981a43337b84ec915..4f18f1837787ea50b50b001153c4485dd95afedd 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
|
| @@ -18,7 +18,6 @@ WebInspector.DeviceModeModel = function(updateCallback)
|
| this._deviceMetricsThrottler = new WebInspector.Throttler(0);
|
| this._appliedDeviceSize = new Size(1, 1);
|
| this._currentDeviceScaleFactor = window.devicePixelRatio;
|
| - this._appliedDeviceScaleFactor = 0;
|
|
|
| this._scaleSetting = WebInspector.settings.createSetting("emulation.deviceScale", 1);
|
| // We've used to allow zero before.
|
| @@ -284,14 +283,6 @@ WebInspector.DeviceModeModel.prototype = {
|
| },
|
|
|
| /**
|
| - * @return {number}
|
| - */
|
| - appliedDeviceScaleFactor: function()
|
| - {
|
| - return this._appliedDeviceScaleFactor;
|
| - },
|
| -
|
| - /**
|
| * @return {!WebInspector.Setting}
|
| */
|
| scaleSetting: function()
|
| @@ -384,11 +375,6 @@ WebInspector.DeviceModeModel.prototype = {
|
| this._target = null;
|
| },
|
|
|
| - requestAppBanner: function()
|
| - {
|
| - this._target.pageAgent().requestAppBanner();
|
| - },
|
| -
|
| _scaleSettingChanged: function()
|
| {
|
| this._calculateAndEmulate(true);
|
| @@ -528,7 +514,6 @@ WebInspector.DeviceModeModel.prototype = {
|
| Math.min(pageWidth * scale, this._availableSize.width - this._screenRect.left - positionX * scale),
|
| Math.min(pageHeight * scale, this._availableSize.height - this._screenRect.top - positionY * scale));
|
| this._scale = scale;
|
| - this._appliedDeviceScaleFactor = deviceScaleFactor;
|
|
|
| if (scale === 1 && this._availableSize.width >= screenSize.width && this._availableSize.height >= screenSize.height) {
|
| // When we have enough space, no page size override is required. This will speed things up and remove lag.
|
|
|