Bug 1312605 - Part 0 - Fix indentation in MVM. r?kats
MozReview-Commit-ID: FYAZNhVzPsb
--- a/layout/base/MobileViewportManager.cpp
+++ b/layout/base/MobileViewportManager.cpp
@@ -194,17 +194,17 @@ MobileViewportManager::UpdateResolution(
{
CSSToLayoutDeviceScale cssToDev =
mPresShell->GetPresContext()->CSSToDevPixelScale();
LayoutDeviceToLayerScale res(mPresShell->GetResolution());
if (mIsFirstPaint) {
CSSToScreenScale defaultZoom;
if (mRestoreResolution) {
- LayoutDeviceToLayerScale restoreResolution(mRestoreResolution.value());
+ LayoutDeviceToLayerScale restoreResolution(mRestoreResolution.value());
if (mRestoreDisplaySize) {
CSSSize prevViewport = mDocument->GetViewportInfo(mRestoreDisplaySize.value()).GetSize();
float restoreDisplayWidthChangeRatio = (mRestoreDisplaySize.value().width > 0)
? (float)aDisplaySize.width / (float)mRestoreDisplaySize.value().width : 1.0f;
restoreResolution =
ScaleResolutionWithDisplayWidth(restoreResolution,
restoreDisplayWidthChangeRatio,